Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
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
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
7 years ago
Liamsi
96a3502126
delete everything
7 years ago
Jae Kwon
3ca5292dc9
Fix rpc tests
7 years ago
Jae Kwon
3037b5b7ca
Fix rpc/lib/...
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
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
7 years ago
Zach Ramsay
68e7983c70
linting errors: afew more
7 years ago
Zach Ramsay
b75d4f73e7
errcheck: PR comment fixes
7 years ago
Zach Ramsay
57ea4987f7
linting: apply errcheck part1
7 years ago
Ethan Buchman
593c127257
rpc/lib/types: RPCResponse.Result is not a pointer
7 years ago
Adrian Brink
036d3b59a3
Address reviews
7 years ago
Adrian Brink
782a836db0
Cleanup of code and code docs
This cleans up some of the code in the state package
7 years ago
Silas Davis
3e3d53daef
Make RPCError an actual error and don't swallow its companion data
7 years ago
Anton Kaliaev
7fadde0b37
check for request ID after receiving it
7 years ago
Anton Kaliaev
b700ed8e31
remove check for non-empty message as it should always be present
7 years ago
Anton Kaliaev
6c1572c9b8
fix invalid memory address or nil pointer dereference
8 years ago
Dave Bryson
60a1f49a5c
updated json response to match spec by @davebryson
8 years ago
Ethan Frey
aac85a14f0
httpDialer accepts no prefix or http:// as tcp://
8 years ago
Anton Kaliaev
f8fdbe3dbc
changes as per Bucky's review
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Ethan Frey
6ba799132c
json.RawMessage in RPCRequest to defer parsing
8 years ago
Ethan Buchman
efeadcc0f4
some cleanup from review
8 years ago
Ethan Frey
6c60c07f16
BROKEN: attempt to replace go-wire.JSON with json.Unmarshall in rpc
8 years ago
Ethan Buchman
cc6dde96c1
rpc -> rpc/lib and rpc/tendermint -> rpc
8 years ago
Ethan Frey
bd93f76950
Improve rpc to properly format any alias for []byte in URIClient
8 years ago
Ethan Buchman
9e82d132ce
go-rpc -> tendermint/rpc
8 years ago
Ethan Buchman
c55d83281a
move into rpc package
8 years ago
Anton Kaliaev
5d19a008ce
add Call method to WSClient, which does proper encoding of params
8 years ago
Anton Kaliaev
e6c083f589
rename ClientURI -> URIClient, ClientJSONRPC -> JSONRPCClient (Refs #4 )
8 years ago
Ethan Frey
715f78e26a
Properly encode json.RawMessage
8 years ago
Anton Kaliaev
db69845ded
introduce errors pkg
8 years ago
Anton Kaliaev
05e1a22d5b
encode params before sending in JSONRPC
8 years ago
Anton Kaliaev
22ba8bdef8
fix Call method signature in HTTPClient interface
8 years ago
Anton Kaliaev
26ccb4c94a
remove private call methods
Q: what was the reason to create them?
8 years ago
Anton Kaliaev
66867bf949
remove "rpc" prefix from package imports
8 years ago
Anton Kaliaev
e1d5873bdf
support key-value params in JSONRPC (Refs #1 )
More changes:
- remove Client interface (reason: empty)
- introduce HTTPClient interface, which can be used for both ClientURI
and ClientJSONRPC clients (so our users don't have to create their own) (Refs #8 )
- rename integration tests script to `integration_test.sh`
- do not update deps on `get_deps`
8 years ago
Matt Bell
86506cd4f8
Handle quoted and hex string type HTTP args for both 'string' and '[]byte' type function args
8 years ago
Matt Bell
34a806578a
Handle hex strings and quoted strings in HTTP params
Use 0x-prefixed hex strings in client
server: Decode hex string args
Encode all string args as 0x<hex> without trying to encode as JSON
Added tests for special string arguments
Fix server handling quoted string args
Added string arg handling test cases to bash test script
8 years ago
Ethan Buchman
855255d73e
use EventSwitch interface; less logging
8 years ago
Ethan Buchman
479510be0e
support full urls (with eg tcp:// prefix)
8 years ago
Ethan Buchman
e8538d606a
add blank client interface
9 years ago
Ethan Buchman
1410693eae
support unix domain websockets
9 years ago
Ethan Buchman
74130008f7
deduplicate dialFunc
9 years ago
Ethan Buchman
6607232a5d
add support for unix sockets
9 years ago
Ethan Buchman
fbc5ac8052
print method in client log
9 years ago
Ethan Buchman
aff561d8c3
RPCResponse.Result is json.RawMessage
9 years ago