Zach Ramsay
|
423fef1416
|
docs: use absolute links (#1617)
|
2018-05-23 10:01:32 -04:00 |
|
Ethan Buchman
|
6c4a26f248
|
update readme
|
2018-05-19 22:44:29 -04:00 |
|
Ethan Buchman
|
b4d6bf7697
|
add back new-spec/README to tell people it moved
|
2018-05-17 15:39:49 -04:00 |
|
Zach
|
754be1887c
|
spec: move to final location (#1576)
|
2018-05-17 09:58:15 +04:00 |
|
Ethan Buchman
|
e2e2127365
|
Merge pull request #1519 from tendermint/bucky/p2p-cleanup
Cleanup P2P
|
2018-04-30 15:54:04 -04:00 |
|
Ethan Buchman
|
b6c062c451
|
fixes from review
|
2018-04-30 08:19:19 -04:00 |
|
Ethan Buchman
|
d3c4f746a7
|
spec: abci notes. closes #1257
|
2018-04-28 21:12:25 -04:00 |
|
Ethan Buchman
|
3a30ee75b9
|
minor fixes
|
2018-04-28 17:27:51 -04:00 |
|
Ethan Buchman
|
3498b676a6
|
update spec and addrbook.go
|
2018-04-28 17:14:58 -04:00 |
|
Ethan Buchman
|
aaa81092e7
|
p2p: some comments and a log line
|
2018-04-28 15:01:33 -04:00 |
|
Ethan Buchman
|
f645187122
|
spec: pex update
|
2018-04-28 13:11:32 -04:00 |
|
Ethan Buchman
|
936d1a0e68
|
some notes about the p2p layer
|
2018-04-28 11:35:09 -04:00 |
|
Ethan Buchman
|
9ab1fafdf1
|
some amino json for #1504
|
2018-04-26 22:06:15 -04:00 |
|
Ethan Buchman
|
d48a6f930d
|
document pre-amino pubkeys/addresses
|
2018-04-26 20:46:08 -04:00 |
|
Ethan Buchman
|
f1ead2df70
|
typo
|
2018-04-26 11:50:45 -04:00 |
|
Ethan Buchman
|
e5951acfb4
|
SHA256 -> RIPEMD160
|
2018-04-26 11:47:13 -04:00 |
|
Ethan Buchman
|
0e1414ef9d
|
spec: add Address spec. notes about Query
|
2018-04-26 11:46:20 -04:00 |
|
Ethan Buchman
|
97be1eef87
|
add abci notes
|
2018-04-26 11:08:34 -04:00 |
|
Ethan Buchman
|
91c81ef9a1
|
spec: note on byte arrays, clean up bitarrays and more, add merkle proof, add crypto.go script
|
2018-04-26 10:42:58 -04:00 |
|
Ethan Buchman
|
e2f0778c14
|
spec: update encoding.md
|
2018-04-26 09:36:41 -04:00 |
|
Vladislav Dmitriyev
|
7c22e47629
|
Replaced NodeInfo's pubkey to ID (#1443)
* Replaced NodeInfo PubKey to NodeID
* Fixed tests and replaced NodeID with ID
* Removed unnecessary method ID()
* Fixed codec_test.go
* Fixed codec_test.go
* Removed unnecessary bracket
* Fixed all tests
* Fixed peer_set_test.go
* Fixed peer_test.go
* Fixed common_test.go
* Fixed common_test.go
* Renamed node_id to id
* Removed peer.ID() from RPC net.go
* Replaced NodeInfo pubKey to ID
* Fixed codec_test.go
* Fixed peer_set_test.go
* Fix pex_reactor_test.go
* Refactored code for privateKey initiali
* Fixed peer_set_test.go
* Fixed test.proto and removed orphan string in codec_test.go
* Fixed pointer to a string
* generate node_key when running tendermint init
* [docs] prefix IPs with node IDs
Refs #1429
* gen_node_key cmd
* [docs/specification/secure-p2p] add a note about config
* fix data race
Closes #1442
```
WARNING: DATA RACE
Write at 0x00c4209de7c8 by goroutine 23:
github.com/tendermint/tendermint/types.(*Block).fillHeader()
/home/vagrant/go/src/github.com/tendermint/tendermint/types/block.go:88 +0x157
github.com/tendermint/tendermint/types.(*Block).Hash()
/home/vagrant/go/src/github.com/tendermint/tendermint/types/block.go:104 +0x121
github.com/tendermint/tendermint/types.(*Block).HashesTo()
/home/vagrant/go/src/github.com/tendermint/tendermint/types/block.go:135 +0x4f
github.com/tendermint/tendermint/consensus.(*ConsensusState).enterPrecommit()
/home/vagrant/go/src/github.com/tendermint/tendermint/consensus/state.go:1037 +0x182d
github.com/tendermint/tendermint/consensus.(*ConsensusState).addVote()
/home/vagrant/go/src/github.com/tendermint/tendermint/consensus/state.go:1425 +0x1a6c
github.com/tendermint/tendermint/consensus.(*ConsensusState).tryAddVote()
/home/vagrant/go/src/github.com/tendermint/tendermint/consensus/state.go:1318 +0x77
github.com/tendermint/tendermint/consensus.(*ConsensusState).handleMsg()
/home/vagrant/go/src/github.com/tendermint/tendermint/consensus/state.go:581 +0x7a9
github.com/tendermint/tendermint/consensus.(*ConsensusState).receiveRoutine()
/home/vagrant/go/src/github.com/tendermint/tendermint/consensus/state.go:539 +0x6c3
Previous read at 0x00c4209de7c8 by goroutine 47:
github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common.(*HexBytes).MarshalJSON()
<autogenerated>:1 +0x52
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.invokeMarshalJSON()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/json-encode.go:433 +0x88
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.(*Codec)._encodeReflectJSON()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/json-encode.go:82 +0x8d2
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.(*Codec).encodeReflectJSON()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/json-encode.go:50 +0x10e
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.(*Codec).encodeReflectJSONStruct()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/json-encode.go:348 +0x539
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.(*Codec)._encodeReflectJSON()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/json-encode.go:119 +0x83f
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.(*Codec).encodeReflectJSON()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/json-encode.go:50 +0x10e
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.(*Codec).encodeReflectJSONStruct()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/json-encode.go:348 +0x539
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.(*Codec)._encodeReflectJSON()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/json-encode.go:119 +0x83f
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.(*Codec).encodeReflectJSON()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/json-encode.go:50 +0x10e
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.(*Codec).encodeReflectJSONStruct()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/json-encode.go:348 +0x539
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.(*Codec)._encodeReflectJSON()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/json-encode.go:119 +0x83f
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.(*Codec).encodeReflectJSON()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/json-encode.go:50 +0x10e
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.(*Codec).encodeReflectJSONStruct()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/json-encode.go:348 +0x539
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.(*Codec)._encodeReflectJSON()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/json-encode.go:119 +0x83f
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.(*Codec).encodeReflectJSON()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/json-encode.go:50 +0x10e
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino.(*Codec).MarshalJSON()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-amino/amino.go:296 +0x182
github.com/tendermint/tendermint/rpc/lib/types.NewRPCSuccessResponse()
/home/vagrant/go/src/github.com/tendermint/tendermint/rpc/lib/types/types.go:100 +0x12c
github.com/tendermint/tendermint/rpc/lib/server.makeJSONRPCHandler.func1()
/home/vagrant/go/src/github.com/tendermint/tendermint/rpc/lib/server/handlers.go:152 +0xab7
net/http.HandlerFunc.ServeHTTP()
/usr/lib/go-1.9/src/net/http/server.go:1918 +0x51
net/http.(*ServeMux).ServeHTTP()
/usr/lib/go-1.9/src/net/http/server.go:2254 +0xa2
github.com/tendermint/tendermint/rpc/lib/server.RecoverAndLogHandler.func1()
/home/vagrant/go/src/github.com/tendermint/tendermint/rpc/lib/server/http_server.go:138 +0x4fa
net/http.HandlerFunc.ServeHTTP()
/usr/lib/go-1.9/src/net/http/server.go:1918 +0x51
net/http.serverHandler.ServeHTTP()
/usr/lib/go-1.9/src/net/http/server.go:2619 +0xbc
net/http.(*conn).serve()
/usr/lib/go-1.9/src/net/http/server.go:1801 +0x83b
Goroutine 23 (running) created at:
github.com/tendermint/tendermint/consensus.(*ConsensusState).OnStart()
/home/vagrant/go/src/github.com/tendermint/tendermint/consensus/state.go:250 +0x35b
github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common.(*BaseService).Start()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common/service.go:130 +0x5fc
github.com/tendermint/tendermint/consensus.(*ConsensusReactor).OnStart()
/home/vagrant/go/src/github.com/tendermint/tendermint/consensus/reactor.go:69 +0x1b4
github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common.(*BaseService).Start()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common/service.go:130 +0x5fc
github.com/tendermint/tendermint/consensus.(*ConsensusReactor).Start()
<autogenerated>:1 +0x43
github.com/tendermint/tendermint/p2p.(*Switch).OnStart()
/home/vagrant/go/src/github.com/tendermint/tendermint/p2p/switch.go:177 +0x124
github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common.(*BaseService).Start()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common/service.go:130 +0x5fc
github.com/tendermint/tendermint/node.(*Node).OnStart()
/home/vagrant/go/src/github.com/tendermint/tendermint/node/node.go:416 +0xa1b
github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common.(*BaseService).Start()
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common/service.go:130 +0x5fc
github.com/tendermint/tendermint/rpc/test.StartTendermint()
/home/vagrant/go/src/github.com/tendermint/tendermint/rpc/test/helpers.go:100 +0x5b
github.com/tendermint/tendermint/rpc/client_test.TestMain()
/home/vagrant/go/src/github.com/tendermint/tendermint/rpc/client/main_test.go:17 +0x4c
main.main()
github.com/tendermint/tendermint/rpc/client/_test/_testmain.go:76 +0x1cd
Goroutine 47 (running) created at:
net/http.(*Server).Serve()
/usr/lib/go-1.9/src/net/http/server.go:2720 +0x37c
net/http.Serve()
/usr/lib/go-1.9/src/net/http/server.go:2323 +0xe2
github.com/tendermint/tendermint/rpc/lib/server.StartHTTPServer.func1()
/home/vagrant/go/src/github.com/tendermint/tendermint/rpc/lib/server/http_server.go:35 +0xb3
```
* removed excessive comment
Refs https://github.com/tendermint/tendermint/pull/1446#discussion_r180353446
* use the tag interface for pubsub. (#1438)
* use the tag interface for pubsub.
* update tmlibs.
* Fix unresolved conflict.
* improve `show_node_id` (#1433)
* fix show_node_id
* make LoadNodeKey public
* make LoadNodeKey public
* remove if
* remove if
|
2018-04-11 10:11:11 +02:00 |
|
Ethan Buchman
|
991017fc41
|
Merge pull request #1336 from tendermint/zarko/1308-add-light-client-spec
Add light client spec
|
2018-04-03 23:02:32 +03:00 |
|
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
|
2018-03-23 09:48:27 +01:00 |
|
Zarko Milosevic
|
416f03c05b
|
Add light client spec
|
2018-03-21 10:00:18 +01:00 |
|
Zarko Milosevic
|
5a79b3d74a
|
Improve the spec to make explicit median computation based on voting power
|
2018-03-19 19:10:02 +01:00 |
|
Zach
|
bdd50c5f37
|
fix docs links & stuff (#1273)
* fix links in docs/spec etc, closes #1261
* spec: remove ref to non-existant repo
* codecov you weirdo
|
2018-03-05 16:30:36 +04:00 |
|
Zarko Milosevic
|
4cbdbbaac9
|
Add BFT time spec
|
2018-02-01 15:22:08 +01:00 |
|
Ethan Buchman
|
fe632ea32a
|
spec: minor fixes
|
2018-01-26 17:26:33 -05:00 |
|
Zach Ramsay
|
5b368252ac
|
spec: more fixes
|
2018-01-26 17:26:33 -05:00 |
|
Zach Ramsay
|
8cca953590
|
spec: remove notes, see #1152
|
2018-01-26 17:26:33 -05:00 |
|
Zach Ramsay
|
4b4a2029c4
|
spec: typos & other fixes
|
2018-01-26 17:26:33 -05:00 |
|
Ethan Buchman
|
260affd037
|
docs consolidation
|
2018-01-23 23:46:28 -05:00 |
|
Zarko Milosevic
|
dfdfd6c98e
|
Small fix in example
|
2018-01-22 13:10:54 +01:00 |
|
Ethan Buchman
|
813bb6af96
|
Merge pull request #1092 from tendermint/add-consensus-reactor-doc
Add consensus reactor doc
|
2018-01-21 12:40:28 -05:00 |
|
Ethan Buchman
|
aecbff725f
|
Merge pull request #1082 from tendermint/document-proposer-selection
Document proposer selection procedure
|
2018-01-21 12:39:43 -05:00 |
|
Ethan Buchman
|
2c6ed302b7
|
minor changes [ci skip]
|
2018-01-21 12:36:46 -05:00 |
|
Adrian Brink
|
0eb85161aa
|
More specification
|
2018-01-21 12:35:09 -05:00 |
|
Adrian Brink
|
940145b368
|
Bullet points for reactor and poolRoutine
|
2018-01-21 12:32:45 -05:00 |
|
Adrian Brink
|
a30315276b
|
Formatting and documentation
|
2018-01-21 12:32:23 -05:00 |
|
Adrian Brink
|
6366eb9d99
|
Cleanup build and structure
|
2018-01-21 12:31:14 -05:00 |
|
Ethan Buchman
|
ae27e85bf7
|
add warnings about new spec
|
2018-01-20 21:20:15 -05:00 |
|
Ethan Buchman
|
f2d19162d2
|
fixes from caffix review
|
2018-01-20 21:20:09 -05:00 |
|
Zarko Milosevic
|
d36e118bf6
|
Add Consensus reactor spec
|
2018-01-19 19:57:08 +01:00 |
|
Ethan Buchman
|
03a14d8342
|
docs/p2p: updates from review (#1076)
|
2018-01-09 11:44:49 -06:00 |
|
Zarko Milosevic
|
dba4815616
|
Define requirements of the proposer selection procedure
|
2018-01-08 14:10:01 +01:00 |
|
Adrian Brink
|
f602de437e
|
Move P2P docs into docs folder
|
2018-01-03 10:49:47 +01:00 |
|
Zarko Milosevic
|
96e0e4ab5a
|
Describe messages sent as part of consensus/gossip protocol
|
2017-12-30 21:18:12 +01:00 |
|
Ethan Buchman
|
caccabd4e5
|
spec: fixes from review
|
2017-12-27 15:14:49 -05:00 |
|
Ethan Buchman
|
d4716fc03c
|
state
|
2017-12-26 18:43:03 -05:00 |
|
Ethan Buchman
|
16227594ef
|
notes about block 1
|
2017-12-26 16:33:42 -05:00 |
|