Jae Kwon
c541d58d2f
WIP: fix rpc/core
7 years ago
Jae Kwon
e4492afbad
Merge
7 years ago
Zaki Manian
f907113c19
Net_info should print the ID of peers ( #1312 )
7 years ago
Anton Kaliaev
ed782e7508
include validator's voting power in /status
Refs #581
7 years ago
Thomas Corbière
2644a529f0
Fix lint errors ( #1390 )
* use increment and decrement operators.
* remove unnecessary else branches.
* fix package comment with leading space.
* fix receiver names.
* fix error strings.
* remove omittable code.
* remove redundant return statement.
* Revert changes (code is generated.)
* use cfg as receiver name for all config-related types.
* use lsi as the receiver name for the LastSignedInfo type.
7 years ago
Anton Kaliaev
2d857c4b1b
add hash field to ResultTx (/tx and /tx_search endpoints) ( #1374 )
Refs #1367
7 years ago
Anton Kaliaev
460599ef75
fix comment
7 years ago
Constantine
152290db7e
Add `\health` rpc endpoint ( #1306 )
* Init `\health` rpc endpoint
* remove additional info from `\health` rpc endpoint
* Cleanup imports
* Added time threshold for health check
* Update rpc doc
* Remove unnecessary checks for blocktime creation lag
* Clean up of unnecessary config usage
7 years ago
Anton Kaliaev
a40518c7da
revert adding dial_peers's private flag
7 years ago
Anton Kaliaev
8bef3eb1f4
private peers
Refs #1126
7 years ago
Ethan Buchman
e7747f7d66
it compiles
7 years ago
Ethan Buchman
7a5060dc52
replace data.Bytes with cmn.HexBytes
7 years ago
Ethan Buchman
0d7d16005a
fixes
7 years ago
Ethan Buchman
3368eeb03e
fix tests
7 years ago
Ethan Buchman
8b74a8d6ac
NodeInfo not a pointer
7 years ago
Ethan Buchman
e2b3b5b58c
dial_persistent_peers -> dial_peers with persistent option
7 years ago
Anton Kaliaev
b40aa91b41
document event subscriptions
Refs #1100
7 years ago
Anton Kaliaev
1b455883d2
readd /dial_seeds
7 years ago
Anton Kaliaev
e4897b7bdd
rename manual peers to persistent peers
7 years ago
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
7 years ago
Ethan Buchman
a17105fd46
p2p: peer.Key -> peer.ID
7 years ago
Ethan Buchman
0acca7fe69
final updates for state
7 years ago
Ethan Buchman
f55135578c
state: move methods to funcs
7 years ago
Zach Ramsay
70ba608850
config: write all default options to config file
config: test the default file
docs: spiff up config
config: minor fixes & comments
config: simplify test
config; use a seperate config directory, #556
config: update docs & parameterize file paths
config: PR comments
config: use the default object
fix a rebase error
7 years ago
Ethan Buchman
7a18fa887d
evidence linked with consensus/node. compiles
7 years ago
Ethan Buchman
336c2f4fe1
rpc: fix getHeight
7 years ago
Ethan Buchman
801e3dfacf
rpc: getHeight helper function
7 years ago
Ethan Buchman
4171bd3bae
fixes
7 years ago
Ethan Frey
d65234ed51
Add /block_results?height=H as rpc endpoint
Expose it in rpc client
Move ABCIResults into tendermint/types from tendermint/state
7 years ago
Anton Kaliaev
90cdffa067
fixes after my own review (Refs #945 )
7 years ago
Anton Kaliaev
950a64f756
bring back transparent websocket (Refs #945 )
7 years ago
Anton Kaliaev
5ff0bb2100
default moniker to the host name (Refs #920 )
7 years ago
Ethan Buchman
167d0e82f9
fixes and version bump
7 years ago
Ethan Buchman
42e77de6a3
changelog; minor stuff; update glide
7 years ago
Ethan Buchman
d0dc04001e
rpc: make time human readable. closes #926
7 years ago
Ethan Buchman
9af8da7aad
update for new abci int types
7 years ago
Anton Kaliaev
10f7858453
use rand.Int63n, remove underflow check, remove unnecessary cast
7 years ago
Anton Kaliaev
922af7c405
int64 height
uint64 is considered dangerous. the details will follow in a blog post.
7 years ago
Ethan Buchman
e9f8e56895
fixes from rebase
7 years ago
Anton Kaliaev
f1fbf995f7
protect ourselves again underflow (Refs #911 )
7 years ago
Anton Kaliaev
b3492356e6
uint64 height (Refs #911 )
7 years ago
Anton Kaliaev
58789c52cd
add example for tx_search endpoint
7 years ago
Anton Kaliaev
acbc0717d4
add client methods
7 years ago
Anton Kaliaev
1e19860585
fixes from my own review
7 years ago
Anton Kaliaev
2a5e8c4a47
add minimal documentation for tx_search RPC method [ci skip]
7 years ago
Anton Kaliaev
91f2184003
fixes after bucky's review
7 years ago
Anton Kaliaev
3e577ccf4f
add `tx_search` RPC endpoint
7 years ago
Anton Kaliaev
f65e357d2b
adapt Tendermint to new abci.Client interface
which was introduced in https://github.com/tendermint/abci/pull/130
7 years ago
Anton Kaliaev
4a31532897
remove unreachable code
7 years ago
Anton Kaliaev
29cd1a1b8f
rewrite indexer to be a listener of eventBus
7 years ago