Zach
8ce588d984
fixes for tools repo merge ( #1945 )
fixes for tools repo merge (#1943 )
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
379e5a15cc
Uint64
6 years ago
Ethan Buchman
bd47ed989f
rpc/lib/server: add test for int parsing
6 years ago
Jae Kwon
d336cfe5d3
RPC HTTP does not require quotes around int64/int/uint64/uint types
6 years ago
Ethan Buchman
d55243f0e6
fix import paths
6 years ago
Anton Kaliaev
297cd4cfe8
limit HTTP request body and WS read msg size to 1MB
6 years ago
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
6 years ago
Alexander Simmerl
0d35d722cb
rpc: Break up long lines
6 years ago
Anton Kaliaev
936a655990
limit number of open connections
Refs #1740
also, expose limit option for number concurrent streams for gRPC
(unlimited by default)
6 years ago
Liamsi
9803f18494
review comments:
gofmt
6 years ago
Liamsi
a39b2522d5
review comments:
- re-add test
- add TODO
- err instead of panic where possible
6 years ago
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
6 years ago
Liamsi
96a3502126
delete everything
6 years ago
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.
6 years ago
Anton Kaliaev
26b2e808f7
[rpc/lib/server] wrote a basic test for WebsocketManager
6 years ago
Hendrik Hofstadt
67416feb3a
return 404 for unknown RPC endpoints
7 years ago
Anton Kaliaev
bb9aa85d22
copy events and pubsub packages from tmlibs
Refs #847
7 years ago
Thomas Corbière
ab00bf7c8b
standardize PRNG access ( #1411 )
* replace math/rand with tmlibs equivalent.
* update tmlibs dependency
7 years ago
Jae Kwon
fb64314d1c
Review from Anton
7 years ago
Jae Kwon
3ca5292dc9
Fix rpc tests
7 years ago
Jae Kwon
c541d58d2f
WIP: fix rpc/core
7 years ago
Jae Kwon
3037b5b7ca
Fix rpc/lib/...
7 years ago
Anton Kaliaev
491c8ab4c1
[rpc/lib] log cert and key files in StartHTTPAndTLSServer
7 years ago
Anton Kaliaev
5ef8a6e887
deprecate not fully formed addresses
7 years ago
Anton Kaliaev
d694d47d22
[rpc/lib] rename vars according to Go conventions
7 years ago
Zaki Manian
ecdc1b9bb0
Add a method for creating an https server ( #1403 )
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
0f41570c80
fixes from bucky's review
7 years ago
Alexander Simmerl
ee51ad8e29
Make RPC handler protocol agnostic ( #1276 )
7 years ago
Ethan Buchman
ca3655a409
types: p2pID -> P2PID
7 years ago
Zach
2cc63069c6
rename dummy to kvstore ( #1223 )
* remove accidental binary
* docs: s/Dummy&dummy/KVStore&kvstore/g
* glide update to abci
* update abci import paths
* dummy begone, hello kvstore
* RequestInitChain needs genesisBytes
* glide update
7 years ago
Anton Kaliaev
2a24ae90c1
fixes from Jae's review
1. remove pointer
2. add Quit() method to Service interface
7 years ago
Ethan Buchman
d34286c421
minor fixes - tests pass
7 years ago
Ethan Buchman
7a5060dc52
replace data.Bytes with cmn.HexBytes
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
950a64f756
bring back transparent websocket (Refs #945 )
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
Zach Ramsay
6f3c05545d
fix new linting errors
7 years ago
Zach Ramsay
c84c7250ba
linting: few more fixes
7 years ago
Zach Ramsay
478a10aa41
Write doesn't need error checked
7 years ago
Zach Ramsay
d033470817
lil fixes
7 years ago
Zach Ramsay
a15c7f221d
linting: moar fixes
7 years ago
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
7 years ago
Zach Ramsay
68e7983c70
linting errors: afew more
7 years ago
Zach Ramsay
8f0237610e
linting errors: clean it all up
7 years ago