Ethan Buchman
3d2c4fd309
update Evidence type - requires pubkey and valset to verify and convert to abci.Evidence
7 years ago
Ethan Buchman
e1e6878a4d
fix state tests
7 years ago
Ethan Buchman
e4147b6f1a
state test runs
7 years ago
Ethan Buchman
7606b7595f
compiles
7 years ago
Ethan Buchman
485b4a0c6f
revert gogo
7 years ago
Ethan Buchman
ebd2fe7a68
more types
7 years ago
Ethan Buchman
f28eae7816
update types
7 years ago
Ethan Buchman
3d33226e80
move types/services.go to state pkg. pass State to evpool.Update
7 years ago
Alexander Simmerl
bf370d36c2
Extract priv_validator into first class package
This is a maintenance change to move the private validator package out
of the types and to a top-level location. There is no good reason to
keep it under the types and it will more clearly coommunicate where
additions related to the privval belong. It leaves the interface and the
mock in types for now as it would introduce circular dependency between
privval and types, this should be resolved eventually.
* mv priv_validator to privval pkg
* use consistent `privval` as import
Follow-up to #1255
7 years ago
Anton Kaliaev
6004587347
expect all tags to be strings ( #1498 )
* expect all tags to be strings
Refs #1369
* port changes from https://github.com/tendermint/tmlibs/pull/204
Refs #1369
7 years ago
Anton Kaliaev
bb9aa85d22
copy events and pubsub packages from tmlibs
Refs #847
7 years ago
Ethan Buchman
e5220360c5
AddPart always verifies
7 years ago
Ethan Buchman
162811476a
update some comments
7 years ago
Zarko Milosevic
2c125b6c78
Fix validValue rule
7 years ago
Ethan Buchman
e9804d76cf
fixes from review
7 years ago
Ethan Buchman
658060150c
rpc: add voting power totals to vote bitarrays
7 years ago
Ethan Buchman
c45ba2967a
fixes from review
7 years ago
Ethan Buchman
a2d77cbe4e
add MarshalJSON methods to fix dump_consensus_state
7 years ago
Ethan Buchman
94c016a04e
use MarshalJSONIndent for init files. closes #1506
7 years ago
Jae Kwon
b42d5a2211
blockID -> block_id for JSON
7 years ago
Thomas Corbière
6a48bd0c88
use the tag interface for pubsub. ( #1438 )
* use the tag interface for pubsub.
* update tmlibs.
* Fix unresolved conflict.
7 years ago
Ethan Buchman
1a1e4e767b
check max msg size in DecodeMessage
7 years ago
Ethan Buchman
bb1b249e8a
types: lock block on MakePartSet
7 years ago
Ethan Buchman
c68d406195
fix tests
7 years ago
Ethan Buchman
02c0835e9b
fixes post merge
7 years ago
Jae Kwon
02531ca5a3
Fix race testing (cont;) Bump version to 0.19.0
7 years ago
Jae Kwon
d24e4cb821
Fix race testing
7 years ago
Jae Kwon
32e1d195a0
Fix cmd and lite
7 years ago
Jae Kwon
3ca5292dc9
Fix rpc tests
7 years ago
Jae Kwon
e4492afbad
Merge
7 years ago
Jae Kwon
45ec5fd170
WIP consensus
7 years ago
Jae Kwon
5d1c758730
Fix evidence
7 years ago
Jae Kwon
1b9323f105
Fix blockchain tests
7 years ago
Anton Kaliaev
ed782e7508
include validator's voting power in /status
Refs #581
7 years ago
Anton Kaliaev
0732526465
use more relaxing < and >= ops instead of !=
an example of Search from godocs:
```
package main
import (
"fmt"
"sort"
)
func main() {
a := []int{1, 3, 6, 10, 15, 21, 28, 36, 45, 55}
x := 6
i := sort.Search(len(a), func(i int) bool { return a[i] >= x })
if i < len(a) && a[i] == x {
fmt.Printf("found %d at index %d in %v\n", x, i, a)
} else {
fmt.Printf("%d not found in %v\n", x, a)
}
}
```
7 years ago
Anton Kaliaev
39a4963782
document funcs in validator_set.go
7 years ago
Anton Kaliaev
37ce6b195a
ValidatorSet#GetByAddress: return -1 if no validator was found
7 years ago
Ethan Buchman
39ff4d22e9
minor cleanup
7 years ago
Jae Kwon
196f8410ba
WIP commit; Fix types/results_test
7 years ago
Anton Kaliaev
8462493cbf
[rpc] fix subscribing using an abci.ResponseDeliverTx tag
Refs #1369
7 years ago
Anton Kaliaev
47b8bd1728
wrote a test for EventBus#PublishEventTx
Refs #1369
7 years ago
Jae Kwon
89cdde7f1e
Fix state tests
7 years ago
Thomas Corbière
2644a529f0
Fix lint errors ( #1390 )
* use increment and decrement operators.
* remove unnecessary else branches.
* fix package comment with leading space.
* fix receiver names.
* fix error strings.
* remove omittable code.
* remove redundant return statement.
* Revert changes (code is generated.)
* use cfg as receiver name for all config-related types.
* use lsi as the receiver name for the LastSignedInfo type.
7 years ago
Jae Kwon
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
7 years ago
Alex Hernandez
575a46d9d4
fix typo on block header ( #1387 )
7 years ago
Eugene Chung
34f5d439ee
remove Heap.Update() call when setting Proposer field
In for loop of IncrementAccum(), Heap.Update() call is unnecessary when i == times - 1.
7 years ago
Ethan Buchman
9bf5862def
types: fix genesis.AppStateJSON
7 years ago
Anton Kaliaev
4e86835163
update changelog for 0.17.0 release
7 years ago
Anton Kaliaev
1c82281b77
make app_options -> app_state backwards compatible
7 years ago
Eugene Chung
a61130aebb
Remove unnecessary bytes.Compare() call
7 years ago