Ethan Buchman
f2b629680a
Merge pull request #2153 from tendermint/bucky/merge-0.23.0-to-develop
Bucky/merge 0.23.0 to develop
6 years ago
Ethan Buchman
720ce658f1
Merge branch 'release/v0.23.0' into bucky/merge-0.23.0-to-develop
6 years ago
Ethan Buchman
309a6772d7
types: fix formatting when printing signatures
- use cmn.Fingerprint and %X
6 years ago
Ethan Buchman
8bd514d9fb
update changelog
6 years ago
ValarDragon
f903947ff3
crypto: Remove interface from crypto.Signature
Signatures are now []byte, which saves on the number of bytes after
amino encoding
(squash this) address Ismail's comment
7 years ago
Ethan Buchman
ea67fb55eb
Merge pull request #2106 from tendermint/1134-add-proposer-to-the-block
add proposer address to block's Header
6 years ago
Ethan Buchman
e1062a657f
fixes for ProposerAddress
- state.MakeBlock takes a proposerAddr
- validateBlock only checks that the ProposerAddress is in the validator
set
- fix raceyness from bad proposer test:
- use privValidator to get the proposer address (instead of racy
state)
- note we had to remove the test that checked the correct proposer was
included for higher rounds because we don't have a good way to test
this with multiple consensus states and not using the
privValidator.Address while calling createProposalBlock was a hack!
6 years ago
Ethan Buchman
4d998b7c03
consensus: failing test for ProposerAddress
6 years ago
Anton Kaliaev
bec9d5cba9
add proposer address to block's Header
Refs #1134
Validation:
- ignored in block.ValidateBasic since it's stateful information
- checked in blockExec.ValidateBlock
7 years ago
Ethan Buchman
06a157ad06
Merge pull request #1815 from tendermint/jae/literefactor4
ValidatorSet change delayed by 1 block, and lite refactor (#2 )
6 years ago
Dev Ojha
d6a666b445
p2p/pex: Fix mismatch between dialseeds and checkseeds. ( #2151 )
6 years ago
Ethan Buchman
c5c2b9601f
update changelog and version
6 years ago
Ethan Buchman
7538864c15
Merge branch 'develop' into jae/literefactor4
6 years ago
Ethan Buchman
279259ec8e
adr-018: abci validators
6 years ago
Ethan Buchman
ca9d07e5e4
update deps for amaino v0.12.0-rc0
6 years ago
Dev Ojha
6e3c5e8033
p2p/pex: Allow configured seed nodes to not be resolvable over DNS ( #2129 )
* p2p/pex: Allow configured seed nodes to be offline
Previously you couldn't startup tendermint if a seed node was offline.
This now allows you to startup tendermint, as long as all seed node addresses
are formatted correctly. In the event that all seed nodes are down,
and the address book is empty, then it crashes with an informative error msg.
(This case doesn't occur if no seeds were specified)
Closes #1716
* (Squash this) Address melekes' comments
* (squash this) fix package imports
* (squash this) fix pex_reactor comment
* (squash this) add a test case
6 years ago
Ethan Buchman
8073e51b04
Merge pull request #2096 from tendermint/dev/adr_symmetric
[ADR] Proposal for encoding symmetric cryptography
6 years ago
Ethan Buchman
3161ebbc2f
Merge pull request #2091 from tendermint/dev/adr_secp_signatures
[ADR] Fix malleability problems in Secp256k1 signatures
6 years ago
Ethan Buchman
4cbeb30da2
Merge pull request #2136 from tendermint/1944-update-grpc
update genproto
6 years ago
Ethan Buchman
d5b5e5a2e4
Merge pull request #2135 from tendermint/2072-unresponsive-tm-after-cs-failure
consensus: non-responsive to CTRL-C if consensus state panics
6 years ago
ValarDragon
6691492540
(squash this) indicate what Ethereum does
6 years ago
Ethan Buchman
0f80a7da82
adr: chain-versions
6 years ago
Ethan Buchman
ae2238efe6
adr: protocol versioning
6 years ago
Anton Kaliaev
2878c7523f
update github bug report template ( #2131 )
6 years ago
Anton Kaliaev
b1cff0f9bf
[libs/autofile] create a Group ticker on Start
1) no need to stop the ticker in createTestGroup() method
2) now there is a symmetry - we start the ticker in OnStart(), we stop it
in OnStop()
Refs #2072
6 years ago
Anton Kaliaev
d09a3a6d3a
stop gracefully instead of trying to resume ops
Refs #2072
We most probably shouldn't be running any further when there is some
unexpected panic. Some unknown error happened, and so we don't know if
that will result in the validator signing an invalid thing. It might be
worthwhile to explore a mechanism for manual resuming via some console
or secure RPC system, but for now, halting the chain upon unexpected
consensus bugs sounds like the better option.
6 years ago
ValarDragon
87f09adeec
(Squash this) Be more explicit about the exact encoding of the secp signature
6 years ago
ValarDragon
b3a3c8a192
Merge remote-tracking branch 'origin/develop' into dev/adr_secp_signatures
6 years ago
ValarDragon
96fdec0fca
crypto: Add compact bit array for intended usage in the multisig
This is in a separate PR for ease of review.
6 years ago
Ethan Buchman
fe5e7808f2
fix Gopkg.lock
6 years ago
Ethan Buchman
2d1c5a1ce6
Merge remote-tracking branch 'origin/develop' into jae/literefactor4
6 years ago
Ethan Buchman
00ebdcd581
update pending changelog
7 years ago
Ethan Buchman
2487210414
Merge pull request #2097 from tendermint/1772-revert
revert "make `/status` RPC endpoint resistant to consensus halt"
6 years ago
ValarDragon
a040c36dfb
(squash this) change adr number, remove redundancy in function names
6 years ago
Anton Kaliaev
d579f4c610
update genproto
Closes #1944
6 years ago
Anton Kaliaev
b82138b002
update changelog
6 years ago
Anton Kaliaev
8ed99c2c13
exit from initSighupWatcher child goroutine
also, remove excessive log message
Refs #2072
6 years ago
Anton Kaliaev
4c5a143a70
respawn receiveRoutine so we can properly exit
Closes #2072
6 years ago
Anton Kaliaev
b33f73eaf1
stop autofile and autogroup properly
NOTE: from the ticker#Stop documentation:
```
Stop does not close the channel, to prevent a read from the channel
succeeding incorrectly.
https://golang.org/src/time/tick.go?s=1318:1341#L35
```
Refs #2072
6 years ago
Jae Kwon
e719a93d1d
Addressed review for #1815 except those marked as 'TODO make issue'
6 years ago
Jae Kwon
eb9b37e196
Pull out consensus liveness fix, which went to #1815
6 years ago
Dev Ojha
eaa137512c
adr: Encoding for cryptography at launch ( #2121 )
7 years ago
Dev Ojha
023bb99eb0
p2p: Add test vectors for deriving secrets ( #2120 )
These test vectors are needed for comparison with the Rust implementation.
To implement this effectively, a "RandBool" method was added to cmn.Rand.
7 years ago
Anton Kaliaev
f2f53442c6
reorder `BaseConfig` according to generated version
also, add `priv_validator_laddr` to the template
7 years ago
Ismail Khoffi
24ae878b9f
update encoding test to how amino skips empty pointers
7 years ago
Jae Kwon
619bb3b2d7
Merge remote-tracking branch 'remotes/origin/jae/literefactor5' into jae/literefactor6
7 years ago
Dev Ojha
dde96b75ce
abci: Update readme for building protoc ( #2124 )
7 years ago
Dev Ojha
6fb2f44cc3
p2p: Connect to peers from a seed node immediately ( #2115 )
This is to reduce wait times when initially connecting. This still runs checks
such as whether you still want additional peers.
A test case has been created, which fails if this change is not included.
7 years ago
Zarko Milosevic
08ad162daa
docs: Modify blockchain spec to reflect validator set changes ( #2107 )
7 years ago
ValarDragon
a83eed104c
libs/cmn: Remove Tempfile, Tempdir, switch to ioutil variants ( #2114 )
Our Tempfile was just a wrapper on ioutil that panicked instead of error.
Our Tempdir was a less safe variant of ioutil's Tempdir.
7 years ago