Anton Kaliaev
a7250af303
Exponential backoff follow up ( #1349 )
* document new functionality [ci skip]
Refs #1304
* add fixme [ci skip]
Refs #1304
* ensure that we dial peer after backoff duration
Refs #1304
7 years ago
Ethan Buchman
46686763ba
Merge pull request #219 from tendermint/release/v0.10.2
Release/v0.10.2
7 years ago
Ethan Buchman
454db6c12b
version and changelog
7 years ago
Ethan Buchman
8fc21cdcd9
remove omitempty
7 years ago
Ethan Buchman
5310e85bbb
run make protoc
7 years ago
Ethan Buchman
f3f9f792a5
Merge pull request #218 from tendermint/release/v0.10.1
Release/v0.10.1
7 years ago
Ethan Buchman
968db546ee
changelog update
7 years ago
Ethan Buchman
4600f19d9f
add nullable=false and omitempty to fee
7 years ago
Ethan Buchman
e0c174b02b
remove nullable=false from fee
7 years ago
Ethan Buchman
f9d9d92ea3
fix dep for minor version bumps
7 years ago
Ethan Buchman
c11bcd7890
update dep for tmlibs
7 years ago
Ethan Buchman
24da7009c3
Merge pull request #178 from tendermint/release/v0.7.1
Release/v0.7.1
7 years ago
Ethan Buchman
db3d1cb7fa
changelog and version
7 years ago
Alexander Simmerl
d46b9afb79
Simplify WriteFileAtomic
We can make the implementation more robust by adjusting our assumptions
and leverage explicit file modes for syncing. Additionally we going to
assume that we want to clean up and can't really recover if thos
operations (file close and removal) fail.
* utilise file mode for majority of concerns
* improve test coverage by covering more assumptions
* signature parity with ioutil.WriteFile
* always clean up
Replaces #160
7 years ago
Emmanuel T Odeke
97bdad8262
common: NewBitArray never crashes on negatives ( #170 )
Fixes #169
Fixes https://github.com/tendermint/tendermint/issues/1322
The previous code was very trusting assuming that
rational actors will use this code. However, Byzantine
actors don't care and in the case of the linked issue
negative lengths can be sent to this code unfettered
having been received from a peer.
This code is essentially just a sign change from
`==`
to
`<=`
and we've gutted out that attack by being more defensive.
7 years ago
Ethan Buchman
3135fca73b
changelog, dep, version
7 years ago
Ethan Buchman
215831d035
update spec and explain more
7 years ago
Ethan Buchman
5306147a2d
types: revert CheckTx/DeliverTx changes. make them the same
7 years ago
Ethan Buchman
c0549ec943
Merge pull request #175 from tendermint/bucky/changelog
update version, changelog
7 years ago
Ethan Buchman
dc1042eb5f
finish changelog
7 years ago
Zach
6545a21369
docs/examples: update quick start guide ( #1351 )
7 years ago
Zarko Milosevic
416f03c05b
Add light client spec
7 years ago
Ethan Buchman
b6400af7ac
update version, changelog
7 years ago
Ethan Buchman
a86b1d8f75
Merge pull request #171 from tendermint/feature/xla-writefileatomic
Simplify WriteFileAtomic
7 years ago
Jae Kwon
ced74251e9
maxPacketMsg -> packetMsgMax...
7 years ago
Jae Kwon
6c345f9fa2
First stab: p2p/conn
7 years ago
Ethan Buchman
8c0c8e8e01
Merge pull request #1301 from tendermint/types-data+header+non-nil-panics
types: Hash invoked for nil Data and Header should not panic
7 years ago
Jae Kwon
4e5c655944
Parallel reaps automatically before returning
7 years ago
Jae Kwon
4caf943f49
Parallel returns a TaskResultSet
7 years ago
Jae Kwon
db48010e81
Add return parameter to Parallel
7 years ago
Jae Kwon
bf24f2dcc5
Implement better Parallel ( #174 )
* Implement better Parallel
7 years ago
Alexander Simmerl
79315efd1f
Merge pull request #1341 from EugeneChung/develop
Remove unnecessary bytes.Compare() call
7 years ago
Eugene Chung
a61130aebb
Remove unnecessary bytes.Compare() call
7 years ago
Alexander Simmerl
5a51a0ba06
Merge pull request #1337 from tendermint/1296-follow-up
Follow up for /health endpoint
7 years ago
Ethan Buchman
0d0b56739d
Merge pull request #1335 from tendermint/zarko/1146-improve-bft-time-spec
Improve BFT time spec
7 years ago
Ethan Buchman
eb1816c9ff
Merge pull request #1338 from tendermint/1266/xla-fix-flaky-testswitchreconnectstopersistentpeer
p2p: Keep reference to connections in test peer
7 years ago
Alexander Simmerl
50ae892d5e
p2p: Keep reference to connections in test peer
We observed non-deterministic test failures in one of our switch tests,
which would happen if the GC would run between iterations of the accept
loop. As we don't hold any reference to the connection the setup
finalizer might get triggered and therefore the file handle closed. For
the curious check the references on finalizers and the variable scoping
in the spec:
https://groups.google.com/forum/#!topic/golang-nuts/xWkhGJ5PY6c
https://groups.google.com/forum/#!topic/golang-nuts/d8aF4rAob7U/discussion
https://golang.org/ref/spec#Declarations_and_scope
Fixes #1266
7 years ago
Zarko Milosevic
5a79b3d74a
Improve the spec to make explicit median computation based on voting power
7 years ago
Anton Kaliaev
460599ef75
fix comment
7 years ago
Anton Kaliaev
830bb72d6f
add Health method to clients
Refs #1296
7 years ago
Anton Kaliaev
b11c26cc1c
update CHANGELOG
7 years ago
Constantine
152290db7e
Add `\health` rpc endpoint ( #1306 )
* Init `\health` rpc endpoint
* remove additional info from `\health` rpc endpoint
* Cleanup imports
* Added time threshold for health check
* Update rpc doc
* Remove unnecessary checks for blocktime creation lag
* Clean up of unnecessary config usage
7 years ago
Ethan Buchman
20b198681b
Merge pull request #1328 from tendermint/bucky/add-vote-readability
addVote readability
7 years ago
Ethan Buchman
2bf106a1b3
Merge pull request #1333 from tendermint/1244-follow-up
consensus: fix tracking for MarkGood
7 years ago
Anton Kaliaev
2c445059f2
mark peer as good every blocksToContributeToBecomeGoodPeer blocks
if enough peers are marked good eventually some will become unmarked, so
good to have a force that will continue to cycle them back into good
territory!
Refs #1317
7 years ago
Anton Kaliaev
d8b08cd943
return back panic in peer#onReceive
Refs #1317
7 years ago
Anton Kaliaev
ab59f64f57
test we record votes and block parts
Refs #1317
7 years ago
Anton Kaliaev
42e3457884
fix tracking of votes and blockparts to not allow old information
also remove mutex
Refs #1317
7 years ago
Anton Kaliaev
31f3dd42e7
mark peer as good only once
or should we do it every N blocks?
Refs #1317
7 years ago
Anton Kaliaev
5fab8e404d
replace magic number with blocksToContributeToBecomeGoodPeer const
Refs #1317
7 years ago