Anton Kaliaev
aaddf5d32f
set pubsub default capacity to 0
Refs #951
Jae: I don't know a good way to catch these errors in general, but
forcing pubsub's internal channel to have a capacity of 0 will reveal
bugs sooner, if the subscriber also has a 0 or small capacity ch to pull
from.
7 years ago
Anton Kaliaev
26b2e808f7
[rpc/lib/server] wrote a basic test for WebsocketManager
7 years ago
Anton Kaliaev
3d30a42943
add config to issue template
7 years ago
Anton Kaliaev
4f5492c831
add nopTxCache (Nil Object Pattern)
to better handle zero cache size
7 years ago
Anton Kaliaev
70d973016e
output msg only once during start
7 years ago
Ethan Buchman
4b2348f697
mempool: fix cache_size==0. closes #1761
7 years ago
Ethan Buchman
6a324764ac
fix circle
7 years ago
Ethan Buchman
3470e5d7b3
changelog and version
7 years ago
Ethan Buchman
a519825bf8
consensus: fixes #1754
* updateToState exits early if the state isn't new, which happens after
* fast syncing. This results in not sending a NewRoundStep message. The mempool
* reactor depends on PeerState, which is updated by NewRoundStep
* messages. If the peer never sends a NewRoundStep, the mempool reactor
* will think they're behind, and never forward transactions. Note this
* only happens when `create_empty_blocks = false`, because otherwise
* peers will move through the consensus state and send a NewRoundStep
* for a new step soon anyways. Simple fix is just to send the
* NewRoundStep message during updateToState even if exit early
7 years ago
Ethan Buchman
d457887dd6
Merge pull request #1759 from tendermint/bucky/readme
update README
7 years ago
Ethan Buchman
adb6a94f18
contact us at riot
7 years ago
Ethan Buchman
b8bfc041d3
update README
7 years ago
Ethan Buchman
9bad770f21
Merge pull request #1757 from tendermint/bucky/update-spec
docs/spec: some organizational cleanup
7 years ago
Ethan Buchman
d3b53e62a5
fix circle
7 years ago
Ethan Buchman
506cf6c9c7
docs/spec: DuplicateVoteEvidence
7 years ago
Ethan Buchman
b8f340afd0
docs/spec: some organizational cleanup
7 years ago
Ismail Khoffi
1a2f468695
fix circleci 2.0 config ( #139 )
7 years ago
Ethan Buchman
c84be3b8dd
Merge pull request #1751 from tendermint/bucky/codeowner-alex
add xla as codeowner
7 years ago
Ethan Buchman
050636d5ce
add xla as codeowner
7 years ago
ia
b5775b56c6
all: gofmt ( #1743 )
* all: gofmt
Run 'gofmt -w .' from project root.
* Update changelog to say that I ran gofmt
* Revert "Update changelog to say that I ran gofmt"
This reverts commit 956f133ff0
.
7 years ago
Alexander Simmerl
19af3e9733
Merge pull request #1738 from tendermint/zarko/add-blockchain-reactor-algorithm-spec
Add algorithm for Blockchain Reactor
7 years ago
Ismail Khoffi
41369d7529
circleci 2.0 ( #134 )
* circleci 2.0
7 years ago
Ethan Buchman
917bf4d428
Merge pull request #1732 from maxim-levy/patch-2
typo fix
7 years ago
Anton Kaliaev
696e8c6f9e
[docs] write about addr_book_strict in production notes ( #1741 )
Refs #1736
7 years ago
Zarko Milosevic
ce73884857
Add spec for Blockchain Reactor algorithm
7 years ago
Alexander Simmerl
fa32dc5181
Merge pull request #1739 from tendermint/dev/bump_version
Bump abci version
7 years ago
Alexander Simmerl
da4d1c2038
Merge pull request #270 from tendermint/xla/update-develop-v0120
Xla/update develop v0120
7 years ago
ValarDragon
ec0c901bec
Bump abci version
7 years ago
Dev Ojha
198dccf0dd
Merge pull request #269 from tendermint/release/v0.12.0
Release/v0.12.0
7 years ago
Alexander Simmerl
1eeebabb0b
Update version and changelog
7 years ago
Christopher Goes
8e273220a3
Remove error from priv.PubKey() ( #131 )
* Remove error from priv.PubKey()
* Update changelog
7 years ago
Dev Ojha
b84f788f36
Switch ports 466xx to 266xx ( #1735 )
* Switch ports 466xx to be 266xx
This is done so the default ports aren't in the linux kernel's default ephemeral port range.
* Update ABCI import
* Bump cache on circleci
* Get more verbose output for debugging
* Bump abci dependency
* Fix accidental change of a block header's hash
* pin abci release
7 years ago
Adrian Brink
ac80b93b60
`unsafe_reset_all` also resets addrbook.json ( #1731 )
* `unsafe_reset_all` also resets addrbook.json
When executing `unsafe_reset_all` it also clear all IP addresses from
addrbook.json. This is the expected behaviour of `unsafe_reset_all`.
* Fix tests
* improve logging statements
* use correct file
7 years ago
Dev Ojha
887bd8be08
Merge pull request #268 from tendermint/xla/resolve-divergence
Resolve divergence
7 years ago
Alexander Simmerl
514065a3c4
Merge branch 'master' into xla/resolve-divergence
7 years ago
Ismail Khoffi
42c6a64e04
version bump ( #128 )
version bump
7 years ago
Alexander Simmerl
260d69f372
Merge pull request #110 from tendermint/bucky/sig-name
SignatureKey -> Signature
7 years ago
Liamsi
e552d344e3
forgot PrivKeyLedgerSecp256k1
7 years ago
Liamsi
c4484c4a1b
Merge remote-tracking branch 'remotes/origin/develop' into bucky/sig-name
# Conflicts:
# Gopkg.lock
# keys/keybase_test.go
# signature_test.go
7 years ago
Liamsi
f4663e5bb7
fix tests, bump amino version, move encoding to encode_test.go,
include an example, do not err check on info ... bur for empty info
instead
7 years ago
Liamsi
45a1c8aef3
fix tests, move encoding to encode_test.go, include an example
7 years ago
Alexander Simmerl
dfc5aefd5f
Merge pull request #1726 from tendermint/1717-panic-in-netaddress
return an error if we fail to parse external IP
7 years ago
Alexander Simmerl
eb4a8e0e7a
Merge pull request #1719 from Slamper/develop
Escape paths in config template
7 years ago
Ethan Buchman
e694c309ba
update ed25519 address scheme ( #112 )
make PubKeyEd25519.Address() returns the first 20 bytes of the hash of the raw 32-byte pubkey, no amino required
7 years ago
Max Levy
708ddb30f7
typo fix
And typo fix
7 years ago
Joon
66794a174a
Move from tmlibs #213 ( #115 )
* move from tmlibs 213
* expose KVPair, simpleproofsfrommap returns keys
7 years ago
Christopher Goes
c21f67c5af
Unify local and external keys in keybase interface ( #117 )
* Return errors on priv.Sign(), priv.PubKey()
* Add CreateLedger, CreateOffline
* Add switch on .Sign() for Ledger wallets
* Add offline signing switch on .Sign()
* Use MustUnmarshalBinaryBare()
* Add confirmation to delete offline/Ledger keys
* Lowercase error message
* Add human-readable .GetType() function to Info interface
* Rename CryptoAlgo => SignAlgo
* assert.Nil(t, err) => assert.NoError(t, err)
7 years ago
Anton Kaliaev
cd3a240c9f
return an error if we fail to parse external IP
```
I[06-08|11:51:57.234] Getting UPNP external address module=p2p
I[06-08|11:51:58.867] Got UPNP external address module=p2p address=
```
Fixes #1717
```
I[06-08|11:51:56.952] Starting multiAppConn module=proxy impl=multiAppConn
I[06-08|11:51:56.952] Starting localClient module=abci-client connection=query impl=localClient
I[06-08|11:51:56.952] Starting localClient module=abci-client connection=mempool impl=localClient
I[06-08|11:51:56.952] Starting localClient module=abci-client connection=consensus impl=localClient
I[06-08|11:51:56.952] ABCI Handshake module=consensus appHeight=0 appHash=
I[06-08|11:51:56.952] ABCI Replay Blocks module=consensus appHeight=0 storeHeight=0 stateHeight=0
I[06-08|11:51:57.053] Completed ABCI Handshake - Tendermint and App are synced module=consensus appHeight=0 appHash=
I[06-08|11:51:57.053] This node is a validator module=consensus addr=6816B5D9BAC32A3CDF07884D9D3D2650694C371D pubKey=PubKeyEd25519{27A40CD032DD2467342D0CF27C5EC92052D966FEC714B6CF2F3BF3146AFD0D51}
I[06-08|11:51:57.234] Starting Node module=main impl=Node
I[06-08|11:51:57.234] Starting EventBus module=events impl=EventBus
I[06-08|11:51:57.234] Local listener module=p2p ip=:: port=46656
I[06-08|11:51:57.234] Getting UPNP external address module=p2p
I[06-08|11:51:58.867] Got UPNP external address module=p2p address=
I[06-08|11:51:58.867] Starting DefaultListener module=p2p impl=Listener(@<nil>:46656)
I[06-08|11:51:58.867] P2P Node ID module=main ID=3629b516392e494ae717ac4c6a1ea7eb0fe421c3 file=/home/tpb/.tendermint/config/node_key.json
I[06-08|11:51:58.868] Add our address to book module=p2p book=/home/tpb/.tendermint/config/addrbook.json addr=null
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x89fb86]
goroutine 1 [running]:
github.com/tendermint/tendermint/p2p.(*NetAddress).String(0x0, 0xc96e24, 0x17)
/home/tpb/code/go/src/github.com/tendermint/tendermint/p2p/netaddress.go:171 +0x26
github.com/tendermint/tendermint/p2p/pex.(*addrBook).AddOurAddress(0xc420190620, 0x0)
/home/tpb/code/go/src/github.com/tendermint/tendermint/p2p/pex/addrbook.go:160 +0x116
github.com/tendermint/tendermint/node.(*Node).OnStart(0xc420286d00, 0xc4201b8010, 0xd)
/home/tpb/code/go/src/github.com/tendermint/tendermint/node/node.go:402 +0x547
github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common.(*BaseService).Start(0xc420286d00, 0xe51c40, 0xc42000bd40)
/home/tpb/code/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common/service.go:130 +0x3bd
github.com/tendermint/tendermint/cmd/tendermint/commands.NewRunNodeCmd.func1(0xc42022e000, 0xc4200acdc0, 0x0, 0x1, 0x0, 0x0)
/home/tpb/code/go/src/github.com/tendermint/tendermint/cmd/tendermint/commands/run_node.go:58 +0xfe
github.com/tendermint/tendermint/vendor/github.com/spf13/cobra.(*Command).execute(0xc42022e000, 0xc4200acda0, 0x1, 0x1, 0xc42022e000, 0xc4200acda0)
/home/tpb/code/go/src/github.com/tendermint/tendermint/vendor/github.com/spf13/cobra/command.go:762 +0x468
github.com/tendermint/tendermint/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x1289280, 0xbbdda0, 0xc420015e01, 0xc4201bc640)
/home/tpb/code/go/src/github.com/tendermint/tendermint/vendor/github.com/spf13/cobra/command.go:852 +0x30a
github.com/tendermint/tendermint/vendor/github.com/spf13/cobra.(*Command).Execute(0x1289280, 0xc4201bc640, 0xc420015e98)
/home/tpb/code/go/src/github.com/tendermint/tendermint/vendor/github.com/spf13/cobra/command.go:800 +0x2b
github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/cli.Executor.Execute(0x1289280, 0xde5798, 0x2, 0xc4200332c0)
/home/tpb/code/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/cli/setup.go:89 +0x4e
main.main()
/home/tpb/code/go/src/github.com/tendermint/tendermint/cmd/tendermint/main.go:45 +0x24d
```
7 years ago
Hendrik Hofstadt
e93865f7de
escape paths in config template
7 years ago
Ethan Buchman
f6c960c3d3
Merge branch 'develop' of https://github.com/tendermint/go-crypto into develop
7 years ago