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
Anton Kaliaev
d64a48e0ee
set logger on blockchain pool
7 years ago
Anton Kaliaev
0a7b2ab52c
fix invalid memory address or nil pointer dereference error (Refs #762 )
https://github.com/tendermint/tendermint/issues/762#issuecomment-338276055
```
E[10-19|04:52:38.969] Stopping peer for error module=p2p peer="Peer{MConn{178.62.46.14:46656} B14916FAF38A out}" err="Error: runtime error: invalid memory address or nil pointer dereference\nStack: goroutine 529485 [running]:\nruntime/debug.Stack(0xc4355cfb38, 0xb463e0, 0x11b1c30)\n\t/usr/local/go/src/runtime/debug/stack.go:24 +0xa7\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p.(*MConnection)._recover(0xc439a28870)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p/connection.go:206 +0x6e\npanic(0xb463e0, 0x11b1c30)\n\t/usr/local/go/src/runtime/panic.go:491 +0x283\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain.(*bpPeer).decrPending(0x0, 0x381)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain/pool.go:376 +0x22\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain.(*BlockPool).AddBlock(0xc4200e4000, 0xc4266d1f00, 0x40, 0xc432ac9640, 0x381)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain/pool.go:215 +0x139\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain.(*BlockchainReactor).Receive(0xc42050a780, 0xc420257740, 0x1171be0, 0xc42ff302d0, 0xc4384b2000, 0x381, 0x1000)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain/reactor.go:160 +0x712\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p.createMConnection.func1(0x11e5040, 0xc4384b2000, 0x381, 0x1000)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p/peer.go:334 +0xbd\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p.(*MConnection).recvRoutine(0xc439a28870)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p/connection.go:475 +0x4a3\ncreated by github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p.(*MConnection).OnStart\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p/connection.go:170 +0x187\n"
```
7 years ago
Zach Ramsay
8a69f1087b
docs: typo
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
Zach Ramsay
fc406d1657
docs: update abci example details [ci skip]
7 years ago
Zach
9dcefd0e1e
Merge pull request #754 from tendermint/improve-docs
add tm-migrator to docs
7 years ago
Zach
a2dc53d43d
Merge pull request #757 from tendermint/756-specification-validators
correct an error in validator's specification [ci skip] (Refs #756 )
7 years ago
Anton Kaliaev
b9c4fab96e
correct an error in validator's specification [ci skip] (Refs #756 )
7 years ago
Zach Ramsay
fa07dbd7ec
docs: add info about tm-migrate
7 years ago
Zach Ramsay
9b382d7a11
docs: remove mention of type byte
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
616b07ff6b
make AppOptions an interface{}
7 years ago
Anton Kaliaev
b26f812399
update changelog
7 years ago
Anton Kaliaev
321061125f
add app_options to GenesisDoc (Refs #564 )
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
Zach
4c1f1e4e57
Merge pull request #746 from srmo/701-add-dev-docs-in-java
701 add dev docs in java
7 years ago
Zach
09170f76fe
Merge pull request #743 from tendermint/zramsay-patch-1
Update getting-started.rst
7 years ago
srmo
9e1edf8685
[docs] add Java examples for each section
7 years ago
srmo
e7fe299504
[docs] replace all GO snippets with collapsible blocks
7 years ago
srmo
b90edffe28
[docs] add first java block for deliverTx
7 years ago
srmo
f361092ed9
[docs] provide means to have collapsible code blocks without adding a new theme
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
Zach
7fe470fc76
Update getting-started.rst
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