Ethan Buchman
7a5060dc52
replace data.Bytes with cmn.HexBytes
7 years ago
Ethan Buchman
2679b7554b
lite: comment out iavl code - TODO #1183
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
Adrian Brink
32311acd01
Vulnerability in light client proxy ( #1081 )
* Vulnerability in light client proxy
When calling GetCertifiedCommit the light client proxy would call
Certify and even on error return the Commit as if it had been correctly
certified.
Now it returns the error correctly and returns an empty Commit on error.
* Improve names for clarity
The lite package now contains StaticCertifier, DynamicCertifier and
InqueringCertifier. This also changes the method receivers from one
letter to two letter names, which will make future refactoring easier
and follows the coding standards.
* Fix test failures
* Rename files
* remove dead code
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
Ethan Buchman
3ad055ef3a
fix randPort
7 years ago
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
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
Anton Kaliaev
07571741c5
[consensus] remove WAL separator (Refs #785 )
We don't really need a separator unless we have complex structures
(rows, cells like RDBMS have https://www.sqlite.org/fileformat.html ).
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
Anton Kaliaev
d41c0b10c8
change delta's type from int to int64
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
cb9743e567
dummy app now returns one DeliverTx tag
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
Anton Kaliaev
c6b2334fa3
check for error when stopping WSClient
7 years ago
Anton Kaliaev
69b5da766c
service#Start, service#Stop signatures were changed
See https://github.com/tendermint/tmlibs/issues/45
7 years ago
Ethan Buchman
2e76b23c9a
rpc: fix tests
7 years ago
Ethan Buchman
9529f12c28
more linting
7 years ago