Anton Kaliaev
d9a1aad5c5
docs: add client#Start/Stop to examples in RPC docs ( #2939 )
...
follow-up on https://github.com/tendermint/tendermint/pull/2936
2018-12-03 16:17:06 +04:00
Ethan Buchman
0baa7588c2
p2p: NodeInfo is an interface; General cleanup ( #2556 )
...
* p2p: NodeInfo is an interface
* (squash) fixes from review
* (squash) more fixes from review
* p2p: remove peerConn.HandshakeTimeout
* p2p: NodeInfo is two interfaces. Remove String()
* fixes from review
* remove test code from peer.RemoteIP()
* p2p: remove peer.OriginalAddr(). See #2618
* use a mockPeer in peer_set_test.go
* p2p: fix testNodeInfo naming
* p2p: remove unused var
* remove testRandNodeInfo
* fix linter
* fix retry dialing self
* fix rpc
2018-10-12 19:25:33 -04:00
zramsay
cf8b42d813
rpc/core: ints are strings in responses, closes #1896
2018-09-26 11:37:26 +04:00
Alexander Simmerl
bdd01310a0
p2p: Integrate new Transport
...
We are swapping the exisiting listener implementation with the newly
introduced Transport and its default implementation MultiplexTransport,
removing a large chunk of old connection setup and handling scattered
over the Peer and Switch code. The Switch requires a Transport now and
handles externally passed Peer filters.
2018-09-18 22:26:43 +02:00
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
2018-06-12 13:25:52 +04:00
Ethan Buchman
c90bf77566
rpc: add n_peers to /net_info
2018-04-28 16:09:18 -04:00
Ethan Buchman
936d1a0e68
some notes about the p2p layer
2018-04-28 11:35:09 -04:00
Anton Kaliaev
a40518c7da
revert adding dial_peers's private flag
2018-03-15 11:55:30 +04:00
Anton Kaliaev
8bef3eb1f4
private peers
...
Refs #1126
2018-03-15 11:55:29 +04:00
Ethan Buchman
8b74a8d6ac
NodeInfo not a pointer
2018-01-14 01:15:33 -05:00
Ethan Buchman
e2b3b5b58c
dial_persistent_peers -> dial_peers with persistent option
2018-01-13 14:50:58 -05:00
Anton Kaliaev
1b455883d2
readd /dial_seeds
2018-01-09 17:54:28 -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
Ethan Buchman
3089bbf2b8
Amount -> Power. Closes #166
2017-09-21 14:59:27 -04:00
Ethan Buchman
aea8629272
peer interface
2017-09-15 18:40:59 -04:00
Anton Kaliaev
83ec9f773a
wrote docs for rpc methods [ci skip]
...
for all of them except unsafe
2017-08-16 15:17:08 -04:00
Anton Kaliaev
f803544195
new logging
2017-05-13 10:24:58 +02:00
Ethan Buchman
cc6dde96c1
rpc -> rpc/lib and rpc/tendermint -> rpc
2017-04-26 19:57:33 -04:00
Ethan Buchman
992b11c450
premerge2: rpc -> rpc/tendermint
2017-04-21 17:39:56 -04:00
Ethan Buchman
585ce45a5e
rpc: dial_seeds msg. addresses #403
2017-04-12 19:12:22 -04:00
Ethan Buchman
1208296dc0
DialSeeds takes an AddrBook
2017-03-05 23:14:15 -05:00
rigelrozanski
f5c4fdc82a
seeds fix
2017-03-04 21:43:03 -05:00
Ethan Buchman
b212aa0db3
fixes from review
2016-12-12 14:12:37 -05:00
Ethan Buchman
12c6594c9b
rpc: remove restriction on DialSeeds
2016-12-09 00:31:53 -05:00
Ethan Buchman
3cce757adc
move DialSeeds to go-p2p and add to rpc
2016-01-20 13:12:42 -05:00
Jae Kwon
f0c80837a6
Include p2p connection status in RPC net_info
2016-01-03 06:21:56 -08:00
Ethan Buchman
6f5baa8414
rpc: add app_hash to /status
2015-12-21 18:13:42 -05:00
Jae Kwon
ef43af19ab
Tendermint <-> Application refactor
2015-12-01 20:12:01 -08:00
Jae Kwon
c4ed55d801
Refactor to move common libraries out of project
2015-10-22 17:39:06 -07:00
Jae Kwon
1b9fd811a1
RPCResponse.Result && EventData are registered interfaces; -skip_upnp option
2015-08-11 11:01:18 -07:00
Ethan Buchman
3f7f3dd37f
add git commit hash to nodeInfo
2015-07-12 02:16:33 +00:00
Ethan Buchman
3416004359
names in gendoc, genesis_test
2015-07-07 14:09:35 -07:00
Ethan Buchman
bf1c9a869c
use gendoc struct for genesis rpc response
2015-06-03 19:26:31 -04:00
Ethan Buchman
2045aee9cd
pass chainID through sign interfaces
2015-05-29 18:14:19 -04:00
Ethan Buchman
8a2d9525f0
network > chain_id, put in genesis.json
2015-05-29 18:14:19 -04:00
Jae Kwon
75ef479547
Config is passed into each module. Remove tendermint/confer
2015-05-17 16:19:57 -07:00
Jae Kwon
be90fd1e0d
rpc cleanup; tendermint init
2015-05-12 19:03:05 -07:00
Jae Kwon
85c8850ac2
Config names have no dots, are under_scored.
2015-05-12 17:40:29 -07:00
Jae Kwon
dc1fddd1d8
Added NodeInfo (still need to add to AddrBook); Proper Handshake
2015-04-20 15:29:01 -07:00
Jae Kwon
fa669ae436
added Moniker as config, available in RPC.
2015-04-18 16:43:48 -07:00
Jae Kwon
e0d6fd6bfa
RPC shows Peer{Address,IsOutbound}
2015-04-17 18:22:44 -07:00
Jae Kwon
cc18136af8
RPC refactor to separate core from core_client and the rest of RPC.
...
Other random changes.
2015-04-07 11:44:25 -07:00
Jae Kwon
f271ab7256
various changes. removed debora temporarily
2015-04-03 16:15:52 -07:00
Jae Kwon
13b6508ecd
Package import path change
2015-04-01 17:30:16 -07:00
Ethan Buchman
60f166e823
tendermint2
2015-03-31 15:33:31 -07:00
Ethan Buchman
731de7a6aa
rpc: return (*Response, error) for all functions
2015-03-29 18:02:04 -07:00
Ethan Buchman
1fb1163721
rpc: separate out golang API into rpc/core
2015-03-29 18:00:28 -07:00