Anton Kaliaev
7fd51e6ade
make govet linter pass ( #3292 )
...
* make govet linter pass
Refs #3262
* close PipeReader and check for err
2019-02-11 16:31:34 +04:00
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
zramsay
cf8b42d813
rpc/core: ints are strings in responses, closes #1896
2018-09-26 11:37:26 +04:00
Ethan Buchman
2d1c5a1ce6
Merge remote-tracking branch 'origin/develop' into jae/literefactor4
2018-08-02 19:12:22 -04:00
Ethan Buchman
8dc655dad2
rpc: fix /blockchain OOM #2049
2018-07-24 21:18:20 -04:00
Ethan Buchman
ea31c4836a
Merge branch 'develop' into jae/literefactor4
2018-07-23 23:28:14 -04:00
Anton Kaliaev
270659f03f
make Block Header and Data non-pointers
...
make BlockMeta Header a non-pointer
Refs #693
2018-07-13 12:05:54 +04:00
Ethan Buchman
5453aa6169
Merge branch 'develop' into jae/literefactor4
2018-07-02 14:57:30 -04:00
Ethan Buchman
d55243f0e6
fix import paths
2018-07-01 22:36:49 -04:00
Jae Kwon
bf0ff212b9
Refactor "lite" to handle delayed validator set changes.
...
Also, fix consensus liveness issue.
2018-06-25 17:12:25 -07: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
0acca7fe69
final updates for state
2017-12-28 23:15:54 -05:00
Ethan Buchman
f55135578c
state: move methods to funcs
2017-12-28 23:15:54 -05:00
Ethan Buchman
336c2f4fe1
rpc: fix getHeight
2017-12-26 20:08:25 -05:00
Ethan Buchman
801e3dfacf
rpc: getHeight helper function
2017-12-26 19:37:42 -05:00
Ethan Buchman
4171bd3bae
fixes
2017-12-26 19:24:45 -05:00
Ethan Frey
d65234ed51
Add /block_results?height=H as rpc endpoint
...
Expose it in rpc client
Move ABCIResults into tendermint/types from tendermint/state
2017-12-26 19:24:25 -05:00
Anton Kaliaev
10f7858453
use rand.Int63n, remove underflow check, remove unnecessary cast
2017-12-01 19:22:18 -06:00
Anton Kaliaev
922af7c405
int64 height
...
uint64 is considered dangerous. the details will follow in a blog post.
2017-12-01 19:04:53 -06:00
Anton Kaliaev
f1fbf995f7
protect ourselves again underflow (Refs #911 )
2017-12-01 17:17:22 -05:00
Anton Kaliaev
b3492356e6
uint64 height (Refs #911 )
2017-12-01 17:17:22 -05:00
Ethan Frey
f653ba63bf
Separated out certifiers.Commit from rpc structs
2017-10-25 16:43:18 +02:00
Zach Ramsay
d56b44f3a5
all: no more anonymous imports
2017-10-04 16:40:45 -04:00
Ethan Buchman
9deb647303
fixes from review
2017-09-04 18:29:51 -04:00
Ethan Buchman
f0f1ebe013
rpc: Block and Commit take pointers; return latest on nil
2017-09-03 16:07:37 -04:00
Ethan Buchman
e2e8746044
rpc: historical validators
2017-09-03 16:07:37 -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
Ethan Buchman
4f27752468
[rpc] dont enable unsafe by default; limit /blockchain_info to 20 blocks
2017-05-24 11:31:31 -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
a3898fae0f
rpc: fix SeenCommit condition
2017-02-16 15:35:34 -05:00
Ethan Buchman
99b068b313
BlockMeta uses BlockID
2017-02-14 17:06:58 -05:00
Ethan Buchman
e229c8c3d7
rpc: /commit
2017-02-14 17:06:47 -05:00
Ethan Buchman
b212aa0db3
fixes from review
2016-12-12 14:12:37 -05:00
Ethan Buchman
7d493774c7
log: move some Info to Debug
2016-10-14 20:27:50 -04:00
Jae Kwon
a4f57e164b
BroadcastTx results
2016-02-08 00:48:58 -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
bb4ca1407f
info->notice, debug->info
2015-07-19 22:44:40 +00:00
Jae Kwon
109a3c2dd3
Added sim_txs draft
2015-07-11 18:01:21 -07:00
Jae Kwon
9965dd5de6
uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/
2015-06-25 20:28:34 -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
13b6508ecd
Package import path change
2015-04-01 17:30:16 -07:00
Jae Kwon
d8766e1d37
better error message for unknown RPC method calls
2015-04-01 17:12:17 -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
9aeafffd9b
rpc: generalized rpc using reflection on funcs and params
2015-03-29 18:00:28 -07:00
Ethan Buchman
1fb1163721
rpc: separate out golang API into rpc/core
2015-03-29 18:00:28 -07:00