Ethan Buchman
12c703c1c3
Merge branch 'develop' into 573-wal-issues
7 years ago
Petabyte Storage
ceedd4d968
remove unnecessary plus [ci skip]
7 years ago
Ethan Buchman
c595636999
glide
7 years ago
Ethan Buchman
57a684d5ac
fixes from review
7 years ago
Ethan Buchman
5534eb4707
Merge pull request #776 from tendermint/feature/merge-light-client
Merge light client
7 years ago
Ethan Buchman
b2d5546cf8
Merge pull request #777 from silasdavis/fix-blocking-ws-client
Fix WSClient deadlock in the readRoutine after Stop() is called
7 years ago
Ethan Frey
f653ba63bf
Separated out certifiers.Commit from rpc structs
7 years ago
Ethan Frey
0396b6d521
Rename checkpoint.go
7 years ago
Ethan Frey
94b36bb65e
Move VerifyCommitAny into the types package
7 years ago
Ethan Frey
b4fd6e876e
Copy certifiers from light-client
7 years ago
Ethan Buchman
775e100d2c
Merge pull request #783 from tendermint/782-tendermint-invalid-command-panics
fix panic: failed to determine gopath: exec: "go"
7 years ago
Silas Davis
4cb02d0bf2
Exploit the fact the BaseService's closed Quit channel will keep emitting quit signals to close both readRoutine and writeRoutine
7 years ago
Anton Kaliaev
ae538337ba
fix panic: failed to determine gopath: exec: "go" (Refs #782 )
```
-bash-4.2$ tendermint show_validators
panic: failed to determine gopath: exec: "go": executable file not found in $PATH
goroutine 1 [running]:
github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common.gopath(0xc4200632c0, 0x18)
/var/lib/jenkins/workspace/03.Build.Package/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common/os.go:26 +0x1b5
github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common.init()
/var/lib/jenkins/workspace/03.Build.Package/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common/os.go:17 +0x13c
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-wire.init()
/var/lib/jenkins/workspace/03.Build.Package/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-wire/wire.go:165 +0x50
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-wire/data.init()
/var/lib/jenkins/workspace/03.Build.Package/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-wire/data/wrapper.go:89 +0x50
github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/cli.init()
/var/lib/jenkins/workspace/03.Build.Package/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/cli/setup.go:190 +0x76
main.init()
/var/lib/jenkins/workspace/03.Build.Package/go/src/github.com/tendermint/tendermint/cmd/tendermint/main.go:42 +0x49```
An error message instead would be nice.
```
Now GoPath() is a function instead of a variable.
7 years ago
Ethan Buchman
62a7beec21
Merge pull request #780 from ericdmann/769-error-msg-while-testnet-sync
Change log level to Info when proposal block hashing fails
7 years ago
Eric Mann
45e18a1832
Change log level to Info when proposal block hashing fails due to partially complete block
7 years ago
Silas Davis
f6adddb4a8
Replace ResultsCh with ResponsesCh
7 years ago
Ethan Buchman
38fc351532
Merge pull request #765 from tendermint/762-blockchain-reactor-timeout
blockchain reactor timeout
7 years ago
Silas Davis
01be6fa309
Fix WSClient blocking in the readRoutine after Stop() as it tries to write to ResultsCh
7 years ago
Anton Kaliaev
e06bbaf303
refactor TestNoBlockMessageResponse to eliminate a race condition
7 years ago
Anton Kaliaev
bb7b152af5
write docs for cutWALUntil and wal2json binaries
7 years ago
Anton Kaliaev
c74a359c46
fixes per Bucky's review
7 years ago
Matt Bell
6a5254c475
Added local blockchain sync benchmark script
7 years ago
Ethan Buchman
2802a06a08
blockchain/store: comment about panics
7 years ago
Ethan Buchman
87cc277b38
Merge pull request #721 from tendermint/564-add-app-options-to-genesis-resp
Add app_options to GenesisDoc
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
a75bccfbc4
Merge branch 'develop' into 564-add-app-options-to-genesis-resp
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
0bbf38141a
blockchain/pool: some comments and small changes
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
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
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
616b07ff6b
make AppOptions an interface{}
7 years ago