Alexander Simmerl
74d3f7e1fd
Integrate private validator socket client
...
Following ADDR 008 the node will connect to an external
process to handle signing requests. Operation of the external process is
left to the user.
* introduce alias for PrivValidator interface on socket client
* integrate socket client in node
* structure tests
* remove unnecessary flag
2018-02-23 13:58:22 +01:00
Alexander Simmerl
a14aab67de
Integrate PrivValidator socket server
2018-02-19 19:20:01 +01:00
Alexander Simmerl
7d71e702d8
Integrate privVal client with node secret
2018-02-09 16:54:43 -05:00
Ethan Buchman
23eb84db35
wip: priv val via sockets
2018-02-09 16:52:58 -05:00
Anton Kaliaev
cf1f483526
add seed_mode flag (--p2p.seed_mode
)
2018-02-08 17:20:55 +04:00
Ethan Buchman
e7747f7d66
it compiles
2018-02-03 03:52:17 -05:00
Ethan Buchman
cd0fd06b0d
update for sdk2 libs. need to fix kv test
...
NOTE we only updating for tmlibs and abci
2018-02-03 03:35:02 -05:00
Ethan Buchman
50129ad8ac
p2p: add Channels to NodeInfo and don't send for unknown channels
2018-01-23 22:43:56 -05:00
Ethan Buchman
44e967184a
p2p: tmconn->conn and types->p2p
2018-01-21 00:34:41 -05:00
Ethan Buchman
0d7d16005a
fixes
2018-01-20 21:44:30 -05:00
Ethan Buchman
f06cc6630b
mempool: cfg.CacheSize and expose InitWAL
2018-01-19 01:03:03 -05:00
Ethan Buchman
620c957a44
fix test
2018-01-14 13:24:43 -05:00
Ethan Buchman
8b74a8d6ac
NodeInfo not a pointer
2018-01-14 01:15:33 -05:00
Ethan Buchman
08f84cd712
a little more moving around
2018-01-13 23:56:57 -05:00
Ethan Buchman
53a5498fc5
more fixes from review
2018-01-13 17:34:12 -05:00
Ethan Buchman
9670519a21
remove PoW from ID
2018-01-13 15:50:59 -05:00
Ethan Buchman
b1485b181a
Merge branch 'p2p-consolidate' into p2p-id
2018-01-13 15:20:23 -05:00
Anton Kaliaev
705d51aa42
move dialSeedsIfAddrBookIsEmptyOrPEXFailedToConnect into PEX reactor
2018-01-09 17:54:29 -06:00
Anton Kaliaev
e4897b7bdd
rename manual peers to persistent peers
2018-01-09 16:18:05 -06:00
Anton Kaliaev
28fc15028a
distinguish between seeds and manual peers in the config/flags
...
- we only use seeds if we can’t connect to peers in the addrbook.
- we always connect to nodes given in config/flags
Refs #864
2018-01-09 16:03:24 -06:00
Anton Kaliaev
179d6062e4
try to connect through addrbook before requesting peers from seeds
...
we only use seeds if we can’t connect to peers in the addrbook.
Refs #864
2018-01-09 16:03:24 -06:00
Ethan Buchman
b9cbaf8f10
priv-val: fix timestamp for signing things that only differ by timestamp
2018-01-08 16:36:16 -05:00
Ethan Buchman
b289d2baf4
persistent node key and ID
2018-01-01 21:21:42 -05:00
Ethan Buchman
528154f1a2
p2p: PrivKey need not be Ed25519
2018-01-01 19:44:01 -05:00
Ethan Buchman
cb845ebff5
fix EvidencePool and VerifyEvidence
2017-12-28 23:15:54 -05:00
Ethan Buchman
6112578d07
ValidateBlock is a method on blockExec
2017-12-28 23:15:54 -05:00
Ethan Buchman
ae68fcb78a
move fireEvents to ApplyBlock
2017-12-28 23:15:54 -05:00
Ethan Buchman
1d6f00859d
fixes from review
2017-12-28 23:15:54 -05:00
Ethan Buchman
397251b0f4
fix evidence
2017-12-28 23:15:54 -05:00
Ethan Buchman
537b0dfa1a
use NopEventBus
2017-12-28 23:15:54 -05:00
Ethan Buchman
0acca7fe69
final updates for state
2017-12-28 23:15:54 -05:00
Ethan Buchman
7d81a3f4a5
address some comments from review
2017-12-27 01:27:03 -05:00
Ethan Buchman
6a4fd46479
fixes from rebase
2017-12-26 20:42:34 -05:00
Ethan Buchman
666ae244b3
evidence: pool test
2017-12-26 20:27:40 -05:00
Ethan Buchman
7a18fa887d
evidence linked with consensus/node. compiles
2017-12-26 20:26:21 -05:00
Ethan Buchman
3019b9f320
Merge pull request #948 from tendermint/945-transparent-websocket
...
bring back transparent websocket (Refs #945 )
2017-12-10 19:05:32 -05:00
Zach
12c5a57415
determinisitic linter ( #902 )
...
* linter: address gosimple lints
* linter: make deterministic & a rebase fix
* lint/rpc: fix a gosimple lint
* run linter in CI
* fix rebase mistake
* fix makefile
* ugh
* revert Makefile
* add metalinter to CI
* try this
* linter: last little fix
* need glide
* better
* okayy circle, have it your way
* lints: gosimple
* pr comments
2017-12-10 17:44:22 +00:00
Anton Kaliaev
950a64f756
bring back transparent websocket (Refs #945 )
2017-12-10 01:18:10 -06:00
Ethan Buchman
9af8da7aad
update for new abci int types
2017-12-02 01:47:55 -05:00
Anton Kaliaev
e538e0e077
config variable to index all tags
2017-11-30 20:02:39 -06:00
Anton Kaliaev
10d893ee9b
update deps
2017-11-29 15:19:45 -06:00
Anton Kaliaev
686e0eea9f
extract indexing goroutine to a separate indexer service
2017-11-29 14:24:18 -06:00
Anton Kaliaev
91f2184003
fixes after bucky's review
2017-11-29 14:24:18 -06:00
Anton Kaliaev
ea0b205455
searching transaction results
2017-11-29 14:24:18 -06:00
Anton Kaliaev
29cd1a1b8f
rewrite indexer to be a listener of eventBus
2017-11-29 14:23:44 -06:00
Anton Kaliaev
cd4be1f308
add tx_index config
2017-11-29 14:23:43 -06:00
Anton Kaliaev
69b5da766c
service#Start, service#Stop signatures were changed
...
See https://github.com/tendermint/tmlibs/issues/45
2017-11-29 10:38:58 -06:00
Ethan Buchman
9529f12c28
more linting
2017-11-27 22:39:12 +00:00
Zach Ramsay
a15c7f221d
linting: moar fixes
2017-11-27 22:39:11 +00:00
Ethan Buchman
c5253c7a31
node: clean makeNodeInfo
2017-11-17 01:22:38 +00:00