Ethan Buchman
8dc655dad2
rpc: fix /blockchain OOM #2049
6 years ago
Anton Kaliaev
270659f03f
make Block Header and Data non-pointers
make BlockMeta Header a non-pointer
Refs #693
6 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
6 years ago
Ethan Buchman
d55243f0e6
fix import paths
6 years ago
Jae Kwon
bf0ff212b9
Refactor "lite" to handle delayed validator set changes.
Also, fix consensus liveness issue.
7 years ago
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
7 years ago
Liamsi
96a3502126
delete everything
7 years ago
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
7 years ago
Ethan Buchman
0acca7fe69
final updates for state
7 years ago
Ethan Buchman
f55135578c
state: move methods to funcs
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
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
Anton Kaliaev
f1fbf995f7
protect ourselves again underflow (Refs #911 )
7 years ago
Anton Kaliaev
b3492356e6
uint64 height (Refs #911 )
7 years ago
Ethan Frey
f653ba63bf
Separated out certifiers.Commit from rpc structs
7 years ago
Zach Ramsay
d56b44f3a5
all: no more anonymous imports
7 years ago
Ethan Buchman
9deb647303
fixes from review
7 years ago
Ethan Buchman
f0f1ebe013
rpc: Block and Commit take pointers; return latest on nil
7 years ago
Ethan Buchman
e2e8746044
rpc: historical validators
7 years ago
Anton Kaliaev
83ec9f773a
wrote docs for rpc methods [ci skip]
for all of them except unsafe
8 years ago
Ethan Buchman
4f27752468
[rpc] dont enable unsafe by default; limit /blockchain_info to 20 blocks
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Ethan Buchman
cc6dde96c1
rpc -> rpc/lib and rpc/tendermint -> rpc
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
fa451fc55c
tendermint/rpc -> tendermint/rpc/tendermint
8 years ago
Ethan Buchman
992b11c450
premerge2: rpc -> rpc/tendermint
8 years ago
Ethan Buchman
a3898fae0f
rpc: fix SeenCommit condition
8 years ago
Ethan Buchman
99b068b313
BlockMeta uses BlockID
8 years ago
Ethan Buchman
e229c8c3d7
rpc: /commit
8 years ago
Ethan Buchman
b212aa0db3
fixes from review
8 years ago
Ethan Buchman
7d493774c7
log: move some Info to Debug
8 years ago
Jae Kwon
a4f57e164b
BroadcastTx results
9 years ago
Jae Kwon
c4ed55d801
Refactor to move common libraries out of project
9 years ago
Jae Kwon
1b9fd811a1
RPCResponse.Result && EventData are registered interfaces; -skip_upnp option
9 years ago
Ethan Buchman
bb4ca1407f
info->notice, debug->info
9 years ago
Jae Kwon
109a3c2dd3
Added sim_txs draft
10 years ago
Jae Kwon
9965dd5de6
uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/
10 years ago
Jae Kwon
cc18136af8
RPC refactor to separate core from core_client and the rest of RPC.
Other random changes.
10 years ago
Jae Kwon
13b6508ecd
Package import path change
10 years ago
Jae Kwon
d8766e1d37
better error message for unknown RPC method calls
10 years ago
Ethan Buchman
60f166e823
tendermint2
10 years ago
Ethan Buchman
731de7a6aa
rpc: return (*Response, error) for all functions
10 years ago
Ethan Buchman
9aeafffd9b
rpc: generalized rpc using reflection on funcs and params
10 years ago
Ethan Buchman
1fb1163721
rpc: separate out golang API into rpc/core
10 years ago
Ethan Buchman
d2724c9731
rpc: give each call a dedicated Response struct, add basic test
10 years ago