Anton Kaliaev
c74a359c46
fixes per Bucky's review
7 years ago
Anton Kaliaev
3115c23762
binary format for WAL
7 years ago
Anton Kaliaev
31030c6514
make crc32c a global var
change echo format in build.sh script
7 years ago
Anton Kaliaev
7b8ffc9981
add checksum and msg size to TimedWALMessage
updated test_data/build.sh script
7 years ago
Ethan Buchman
f97229f05a
Merge pull request #748 from tendermint/params-test
types: ConsensusParams test + document the ranges/limits
7 years ago
Ethan Buchman
ac2ef9e0ea
Merge pull request #750 from tendermint/feature/cleanup
Cleanup of code and code docs
7 years ago
Ethan Buchman
c2803b80e8
update changelog; fixes from rebase
7 years ago
Ethan Buchman
7a6876bc62
Merge pull request #768 from tendermint/feature/merkleeyes-to-iavl
Feature/merkleeyes to iavl
7 years ago
Adrian Brink
819f81f702
Change NOTE to CONTRACT
7 years ago
Adrian Brink
036d3b59a3
Address reviews
7 years ago
Adrian Brink
782a836db0
Cleanup of code and code docs
This cleans up some of the code in the state package
7 years ago
Ethan Buchman
bd46b78785
Merge pull request #755 from tendermint/753-notified-mempool-txs-but-mempool-empty
WIP: only notify when there are some txs (Refs #753 )
7 years ago
Anton Kaliaev
f908dd0e55
only notify when there are some txs (Refs #753 )
7 years ago
Ethan Buchman
f188366e26
update glide
7 years ago
Ethan Buchman
fd60621a8e
update cswal test
7 years ago
Ethan Buchman
60b7f2c61b
Merge pull request #767 from silasdavis/do-not-swallow
Make RPCError an actual error and don't swallow its companion data
7 years ago
Silas Davis
3e3d53daef
Make RPCError an actual error and don't swallow its companion data
7 years ago
Emmanuel Odeke
f24f03906f
types: ConsensusParams: add feedback from @ebuchman and @melekes
7 years ago
Ethan Buchman
fa56e8c0ce
Merge pull request #676 from tendermint/state-unexpose-genesisDoc-chainID
all, state: unexpose GenesisDoc, ChainID fields make them accessor methods
7 years ago
Anton Kaliaev
75b78bfb72
panic on marshal/unmarshal failures for genesisDoc
7 years ago
Ethan Buchman
b234f7aba2
Merge pull request #741 from tendermint/client-compile-time-assertions
rpc/client: use compile time assertions instead of methods
7 years ago
Emmanuel Odeke
bff069f83c
types: ConsensusParams test + document the ranges/limits
Fixes https://github.com/tendermint/tendermint/issues/747
Updates https://github.com/tendermint/tendermint/issues/693
* Document the unmentioned limits for ConsensusParams.Validate()
* Make the limit for ConsensusParams.BlockSizeParams.MaxBytes
clear at 100MiB
7 years ago
Anton Kaliaev
6469e2ccca
save genesis doc in DB to prevent user errors
https://github.com/tendermint/tendermint/pull/676#discussion_r144411458
7 years ago
Anton Kaliaev
c4646bf87f
make state#Params not a pointer
also remove the comment
7 years ago
Anton Kaliaev
716364182d
[state] expose ChainID and Params
```
jaekwon
Yeah we should definitely expose ChainID.
ConsensusParams is small enough, we can just write it.
```
https://github.com/tendermint/tendermint/pull/676#discussion_r144123203
7 years ago
Anton Kaliaev
1971e149fb
ChainID() and Params() do not return errors
- remove state#GenesisDoc() method
7 years ago
Emmanuel Odeke
7939d62ef0
all, state: unexpose GenesisDoc, ChainID fields make them accessor methods
Fixes #671
Unexpose GenesisDoc and ChainID fields to avoid them being
serialized to the DB on every block write/state.Save()
A GenesisDoc can now be alternatively written to the state's
database, by serializing its JSON as a value of key "genesis-doc".
There are now accessors and a setter for these attributes:
- state.GenesisDoc() (*types.GenesisDoc, error)
- state.ChainID() (string, error)
- state.SetGenesisDoc(*types.GenesisDoc)
This is a breaking change since it changes how the state's
serialization and requires that if loading the GenesisDoc entirely
from the database, you'll need to set its value in the database
as the GenesisDoc's JSON marshaled bytes.
7 years ago
Ethan Buchman
a1e0f0ba95
docs/ecosystem: add py-tendermint to abci-servers
7 years ago
Emmanuel Odeke
5f218a43fd
rpc/client: use compile time assertions instead of methods
7 years ago
Ethan Buchman
d490c25807
Merge pull request #720 from tendermint/types-heartbeat-test
types/heartbeat: test all Heartbeat functions
7 years ago
Ethan Buchman
340f33b475
Merge pull request #734 from tendermint/482-support-historical-abci-queries
support historical abci queries
7 years ago
Anton Kaliaev
7518c4a9be
[rpc] update comment [ci skip]
7 years ago
Anton Kaliaev
db413aadfd
fixes from @cloudhead review
7 years ago
Anton Kaliaev
5433e5771e
support historical abci queries (Refs #482 )
7 years ago
Zach Ramsay
e2e50bc0fc
rpc: use /iavl repo in test ( #713 )
7 years ago
Ethan Buchman
27245ce6f6
Merge branch 'master' into develop
7 years ago
Ethan Buchman
d4634dc683
Merge pull request #729 from tendermint/release/0.11.1
Release/0.11.1
7 years ago
Ethan Buchman
8c08fc671c
fix version
7 years ago
Ethan Buchman
a2d40580d7
Merge pull request #732 from sbellem/docs-install-typo-fix
[docs: typo fix] add missing "have"
7 years ago
Ethan Buchman
0011af7adf
Merge pull request #727 from sbellem/docs-typo-fix
[docs:typo fix] remove misplaced "the"
7 years ago
Sylvain Bellemare
1764106606
[docs: typo fix] add missing "have"
7 years ago
Ethan Buchman
3356544706
update changelog
7 years ago
Ethan Buchman
335e012b6a
Merge branch 'develop' into release/0.11.1
7 years ago
Ethan Buchman
a458da8f92
Merge pull request #724 from tendermint/708-leaving-out-params-crashes-tm-rpc
Leaving out params crashes tm rpc
7 years ago
Ethan Buchman
9fb45c5b5a
remove a stale comment
7 years ago
Anton Kaliaev
aae4e94998
make RPCRequest params not a pointer
https://github.com/tendermint/tendermint/pull/724#issuecomment-335362927
7 years ago
Anton Kaliaev
d935a4f0a8
recover from panic in WS JSON RPC readRoutine
https://github.com/tendermint/tendermint/pull/724#issuecomment-335316484
7 years ago
Anton Kaliaev
5c331d8276
log a notification to help debug user issues
7 years ago
Anton Kaliaev
13b9de6778
return missing package declaration
7 years ago
Anton Kaliaev
dc0e8de9b0
extract some of the consensus types into ./types
so they can be used in rpc/core/types/responses.go.
```
So, it seems like we could use the actual structs here, but we don't want to have to import consensus to get them, as then clients are importing too much crap. So probably we should move some types from consensus into consensus/types so we can import.
Will these raw messages be identical to:
type ResultDumpConsensusState struct {
RoundState cstypes.RoundState
PeerRoundStates map[string]cstypes.PeerRoundState
}
```
https://github.com/tendermint/tendermint/pull/724#discussion_r143598193
7 years ago