Ethan Buchman
9b0b0b02d0
consensus: wait on stop if not fastsync
7 years ago
Anton Kaliaev
270659f03f
make Block Header and Data non-pointers
make BlockMeta Header a non-pointer
Refs #693
7 years ago
Anton Kaliaev
3ffda994c2
Revert "rename privval#GetAddress and GetPubKey to Address and PubKey"
This reverts commit 58d0c8de89
.
7 years ago
Anton Kaliaev
ff8ddee708
rename privval#GetAddress and GetPubKey to Address and PubKey
7 years ago
Anton Kaliaev
b271c40783
remove deprecated `app_options` field from genesis
7 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
7 years ago
Zach Ramsay
d02c5d1e30
detele everything
7 years ago
Ethan Buchman
223095d12f
remove Wait from consensus reactor OnStop
7 years ago
Anton Kaliaev
9120fd5d14
unexport DecodeMessage functions
Refs #646
7 years ago
Anton Kaliaev
b242b15d40
wait until WAL closes the autogroup
Refs #1839
7 years ago
Ethan Buchman
d55243f0e6
fix import paths
7 years ago
Ethan Buchman
af703620d4
consensus: stop wal
7 years ago
Anton Kaliaev
f760c24ff0
[config] remove MaxBlockSizeTxs and MaxBlockSizeBytes in favor of consensus params
7 years ago
Jae Kwon
b51ed132f7
Fix test/p2p/pex circle tests; update consensus
7 years ago
Ethan Buchman
70d314312c
consensus: fix addProposalBlockPart
* When create_empty_blocks=false, we don't enterPropose until we
* receive a transaction, but if we then receive a complete proposal,
* we should enterPrevote. A guard in addProposalBlockPart was checking if
* step==Propose before calling enterPrevote, but we need it to be step<=Propose,
* since we may not have seen a tx.
* This was discovered by disabling mempool broadcast, sending txs to
* peers one a time, and observing their consensus logs.
7 years ago
Jae Kwon
8524a8da7f
Try to fix circle...
7 years ago
Jae Kwon
cfcbc61449
oops
7 years ago
Jae Kwon
9184733261
try it with new consensus?
7 years ago
Jae Kwon
37ef5485b4
Add logs to lite/*; Fix rpc status to return consensus height, not blockstore height
7 years ago
Jae Kwon
538c410bcd
Fixes from review
7 years ago
Jae Kwon
242a6037e8
Fixes from review
7 years ago
Jae Kwon
bf0ff212b9
Refactor "lite" to handle delayed validator set changes.
Also, fix consensus liveness issue.
7 years ago
Jae Kwon
a5b7ea93c4
Delay validator set changes by 1 block.
7 years ago
Alexander Simmerl
a605b66c5a
Move abci imports
7 years ago
Liamsi
8329b86570
more changes from #1721
7 years ago
Liamsi
4fb40e5437
cherry pick @melekes changes
7 years ago
Liamsi
6677f81ffb
revert change from #1721
makes TestListener never quit
7 years ago
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
7 years ago
Liamsi
96a3502126
delete everything
7 years ago
Anton Kaliaev
205d8b8062
fixes after @xla review
- move prometheus metrics into internal packages
- *Option structs
- misc. format changes
7 years ago
Anton Kaliaev
e4bb3566a0
move metrics constructors to a separate package
7 years ago
Anton Kaliaev
84812145cb
friendly apis for constructors
7 years ago
Anton Kaliaev
b10b0da3fd
bundle imports
7 years ago
Anton Kaliaev
7efb73aa18
mempool size metric
7 years ago
Anton Kaliaev
19699d644f
p2p metric, make height and totalTxs gauges
7 years ago
Anton Kaliaev
0cb50c05fc
add rounds metric
7 years ago
Anton Kaliaev
e58d674f4c
add validators power gauges
7 years ago
Anton Kaliaev
fad76e103b
extract metrics to provider, remove height label
7 years ago
Anton Kaliaev
489d9b9184
more metrics
7 years ago
Anton Kaliaev
3cdf3b670d
serve metrics under /metrics
7 years ago
Anton Kaliaev
5c869b5888
validator metrics
7 years ago
Anton Kaliaev
5c7093cc9f
go-kit metrics plus prometheus: one metric
7 years ago
Ethan Buchman
a519825bf8
consensus: fixes #1754
* updateToState exits early if the state isn't new, which happens after
* fast syncing. This results in not sending a NewRoundStep message. The mempool
* reactor depends on PeerState, which is updated by NewRoundStep
* messages. If the peer never sends a NewRoundStep, the mempool reactor
* will think they're behind, and never forward transactions. Note this
* only happens when `create_empty_blocks = false`, because otherwise
* peers will move through the consensus state and send a NewRoundStep
* for a new step soon anyways. Simple fix is just to send the
* NewRoundStep message during updateToState even if exit early
7 years ago
ia
b5775b56c6
all: gofmt ( #1743 )
* all: gofmt
Run 'gofmt -w .' from project root.
* Update changelog to say that I ran gofmt
* Revert "Update changelog to say that I ran gofmt"
This reverts commit 956f133ff0
.
7 years ago
Ethan Buchman
9481cabd50
fixes from review
7 years ago
Ethan Buchman
8e45348737
update for abci v0.11.0 release. let InitChain update validators
7 years ago
Ethan Buchman
909f66e841
remove extra eventBus
7 years ago
Ethan Buchman
3d2c4fd309
update Evidence type - requires pubkey and valset to verify and convert to abci.Evidence
7 years ago
Ethan Buchman
866bcceb35
fix consensus tests
7 years ago
Ethan Buchman
7606b7595f
compiles
7 years ago