Zach
8ce588d984
fixes for tools repo merge ( #1945 )
...
fixes for tools repo merge (#1943 )
2018-07-10 16:42:27 -04:00
Zach Ramsay
44dad6d70b
Revert "detele everything"
...
This reverts commit d02c5d1e30
.
2018-07-10 11:22:25 -04:00
Zach Ramsay
d02c5d1e30
detele everything
2018-07-10 11:12:46 -04:00
Ethan Buchman
379e5a15cc
Uint64
2018-07-06 07:56:00 -04:00
Ethan Buchman
bd47ed989f
rpc/lib/server: add test for int parsing
2018-07-06 07:55:15 -04:00
Jae Kwon
d336cfe5d3
RPC HTTP does not require quotes around int64/int/uint64/uint types
2018-07-05 23:36:49 -07:00
Ethan Buchman
d55243f0e6
fix import paths
2018-07-01 22:36:49 -04:00
Anton Kaliaev
61c5791fa3
revert back to Jae's original payload size limit
...
except now we calculate the max size using the maxPacketMsgSize()
function, which frees developers from having to know amino encoding
details.
plus, 10 additional bytes are added to leave the room for amino upgrades
(both making it more efficient / less efficient)
2018-06-29 12:57:17 +04:00
Anton Kaliaev
297cd4cfe8
limit HTTP request body and WS read msg size to 1MB
2018-06-29 12:40:32 +04:00
Anton Kaliaev
ac12432603
[rpc/client/http] set codec on rpc client
2018-06-29 12:40:32 +04:00
Roman Useinov
f0e5332b1f
Feature/support https rpc client ( #1816 )
...
* Implement support for https in rpc client
* Update changelog
* update comment
* support wss protocol
* fixed changelog
* if -> switch
* fix lint
* protocol constants introduced
2018-06-27 15:03:47 +04:00
Alexander Simmerl
f62d6651e3
Merge pull request #1781 from tendermint/1740-node-crashes-when-too-many-rpc-connections
...
limit number of open connections
2018-06-23 01:15:03 +02:00
Alexander Simmerl
0d35d722cb
rpc: Break up long lines
2018-06-23 01:01:31 +02:00
Alexander Simmerl
e39e43f86f
Merge pull request #1790 from tendermint/xla/merge-abci-tmlibs
...
Merge abci
2018-06-23 00:55:31 +02:00
Samuel Sarle
8554a6dcd8
Renamed sync_info.syncing to sync_info.catching_up.
2018-06-23 00:20:49 +03:00
Anton Kaliaev
936a655990
limit number of open connections
...
Refs #1740
also, expose limit option for number concurrent streams for gRPC
(unlimited by default)
2018-06-22 19:25:11 +04:00
Alexander Simmerl
a605b66c5a
Move abci imports
2018-06-22 07:28:07 +02:00
Liamsi
9803f18494
review comments:
...
gofmt
2018-06-21 12:21:33 -07:00
Liamsi
a39b2522d5
review comments:
...
- re-add test
- add TODO
- err instead of panic where possible
2018-06-21 11:51:46 -07:00
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
...
This reverts commit 96a3502
2018-06-20 17:35:30 -07:00
Liamsi
96a3502126
delete everything
2018-06-20 15:19:08 -07:00
Anton Kaliaev
fad76e103b
extract metrics to provider, remove height label
2018-06-20 12:38:45 +04:00
Anton Kaliaev
aaddf5d32f
set pubsub default capacity to 0
...
Refs #951
Jae: I don't know a good way to catch these errors in general, but
forcing pubsub's internal channel to have a capacity of 0 will reveal
bugs sooner, if the subscriber also has a 0 or small capacity ch to pull
from.
2018-06-19 17:07:21 +04:00
Anton Kaliaev
26b2e808f7
[rpc/lib/server] wrote a basic test for WebsocketManager
2018-06-19 17:06:48 +04:00
ia
b5775b56c6
all: gofmt ( #1743 )
...
* all: gofmt
Run 'gofmt -w .' from project root.
* Update changelog to say that I ran gofmt
* Revert "Update changelog to say that I ran gofmt"
This reverts commit 956f133ff0354fd7338e7df7c823e6f98b655da6.
2018-06-15 02:03:50 +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
61002ad264
Merge pull request #1628 from tendermint/bucky/selective-evidence-broadcast
...
evidence: dont send evidence to unsynced peers
2018-06-05 17:07:29 -07:00
Anton Kaliaev
2ce8179c8b
validate per_page before page
...
plus an additional check just in case
Closes #1688
2018-06-05 16:20:48 +04:00
Ethan Buchman
3d33226e80
move types/services.go to state pkg. pass State to evpool.Update
2018-06-04 21:20:23 -07:00
Ethan Buchman
c85c21d1bc
Merge pull request #1670 from tendermint/xla/extract-privval
...
Extract priv_validator into first class package
2018-06-04 18:57:09 -07:00
Hendrik Hofstadt
67416feb3a
return 404 for unknown RPC endpoints
2018-06-04 22:14:20 +02:00
Alexander Simmerl
bf370d36c2
Extract priv_validator into first class package
...
This is a maintenance change to move the private validator package out
of the types and to a top-level location. There is no good reason to
keep it under the types and it will more clearly coommunicate where
additions related to the privval belong. It leaves the interface and the
mock in types for now as it would introduce circular dependency between
privval and types, this should be resolved eventually.
* mv priv_validator to privval pkg
* use consistent `privval` as import
Follow-up to #1255
2018-06-03 13:51:58 +02:00
Zach
7f20eb5f8e
generate RPC docs using Slate ( #1612 )
...
* generate RPC docs using Slate (#691 )
* update changelog
* skip if branch not develop
* slate: only build if rpc/core has changes
* fetch develop to compare against
* slate: build on master only
* [rpc/core] use original repo, not fork in README
2018-05-25 15:59:24 +04:00
Anton Kaliaev
bb9aa85d22
copy events and pubsub packages from tmlibs
...
Refs #847
2018-05-21 10:51:47 +04:00
Ethan Buchman
6f9867cba6
fix validate pagination params
2018-05-20 01:47:15 -04:00
Anton Kaliaev
5115618550
add limit param to /unconfirmed_txs
2018-05-17 21:25:04 +04:00
Anton Kaliaev
a6b74b82d1
limit /tx_search output
...
Refs #909
2018-05-17 21:25:03 +04:00
Zarko Milosevic
2c125b6c78
Fix validValue rule
2018-05-14 16:17:21 -04:00
Ethan Buchman
e9804d76cf
fixes from review
2018-05-14 10:33:31 -04:00
Ethan Buchman
a41f0d3891
rpc: /consensus_state for simplified output
2018-05-13 19:53:54 -04:00
Ethan Buchman
658060150c
rpc: add voting power totals to vote bitarrays
2018-05-13 19:22:23 -04:00
Jae Kwon
56c9e0da7e
Add back sample output in rpc/core/consensus.go; Tweak DumpConsensusState output for peers
2018-05-12 15:39:30 -07:00
Jae Kwon
edbec10f9e
Expose peer stats for dump_consensus_state
2018-05-10 22:43:21 -07: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
Ethan Buchman
79bfbebfff
rpc: docs/comments
2018-04-27 23:19:40 -04:00
Ethan Buchman
f33da8817a
rpc: lower_case peer_round_states, use a list, add the node_address
2018-04-27 23:00:09 -04:00
Ethan Buchman
47e4d64973
add validator address to /status
2018-04-26 23:43:51 -04:00
suyuhuang
6c04465d3d
Fix `Prove` int abci.ABCIQuery ( #1485 )
...
* fix Prove in abci query
* fix Prove in abci query
* fix doc
* fix doc
2018-04-24 09:56:25 +02:00
Thomas Corbière
ab00bf7c8b
standardize PRNG access ( #1411 )
...
* replace math/rand with tmlibs equivalent.
* update tmlibs dependency
2018-04-11 11:38:30 +02:00