Jakub Sztandera
|
81b5f46062
|
Implement RPC tracing
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
|
2019-07-26 08:50:21 +02:00 |
|
Łukasz Magiera
|
4054200bdd
|
jsonrpc: Catch panics in jsonrpc calls
|
2019-07-25 16:08:41 +02:00 |
|
Łukasz Magiera
|
7ec9d45915
|
gofmt
|
2019-07-25 14:54:19 +02:00 |
|
Łukasz Magiera
|
93a8ee11db
|
jsonrpc: Work with browsers
|
2019-07-24 19:09:00 +02:00 |
|
Łukasz Magiera
|
77bc243110
|
jsonrpc: Break NewMergeClient into smaller functions
|
2019-07-24 14:20:57 +02:00 |
|
Łukasz Magiera
|
81d7c30fac
|
Couple lint fixes
|
2019-07-24 03:16:17 +02:00 |
|
Łukasz Magiera
|
f0e807dabb
|
Fix jsonrpc client after splitting apis
|
2019-07-24 02:40:19 +02:00 |
|
Łukasz Magiera
|
0a17041221
|
Fix rpc tests after rebase
|
2019-07-24 00:39:48 +02:00 |
|
Łukasz Magiera
|
6554db3e5f
|
auth: Addres review
|
2019-07-24 00:38:52 +02:00 |
|
Łukasz Magiera
|
a88be8d1df
|
auth: Store token in repo
|
2019-07-24 00:38:52 +02:00 |
|
Łukasz Magiera
|
fa4bf5178a
|
auth: Restructure for getting tokens form keystore
|
2019-07-24 00:37:05 +02:00 |
|
Łukasz Magiera
|
c0f3bdbb61
|
jsonrpc: verify jwt tokens
|
2019-07-24 00:37:05 +02:00 |
|
Łukasz Magiera
|
265302f4aa
|
Implement API-level auth
|
2019-07-24 00:36:19 +02:00 |
|
Łukasz Magiera
|
9b3ae45f61
|
jsonrpc: Break handleWsConn into smaller functions
|
2019-07-23 03:45:10 +02:00 |
|
Łukasz Magiera
|
2f0a088b18
|
jsonrpc: Move ws handler state to a struct
|
2019-07-23 03:20:48 +02:00 |
|
Łukasz Magiera
|
0d5d6cd1c2
|
jsonrpc: lint fixes
|
2019-07-23 02:40:45 +02:00 |
|
Łukasz Magiera
|
1b1ec2b812
|
jsonrpc: cleanup websocket handling logic a bit
|
2019-07-23 02:40:45 +02:00 |
|
Łukasz Magiera
|
40fa1becb5
|
jsonrpc: Handle closing channels
|
2019-07-23 02:40:45 +02:00 |
|
Łukasz Magiera
|
64e3272fbf
|
jsonrpc: remove test stuff from main code
|
2019-07-23 02:40:45 +02:00 |
|
Łukasz Magiera
|
98cbfdebb4
|
jsonrpc: test unmarshalable responses
|
2019-07-23 02:40:01 +02:00 |
|
Łukasz Magiera
|
17c76abdb2
|
jsonrpc: Panic less in client
|
2019-07-23 02:40:01 +02:00 |
|
Łukasz Magiera
|
527ab7100a
|
jsonrpc: basic channel test
|
2019-07-23 02:40:01 +02:00 |
|
Łukasz Magiera
|
dda1dfdc80
|
jsonrpc: don't panic on not found chan handlers
|
2019-07-23 02:40:01 +02:00 |
|
Łukasz Magiera
|
3e8afa9511
|
jsonrpc: fix chan handler registration race
|
2019-07-23 02:40:01 +02:00 |
|
Łukasz Magiera
|
fd40f9a82a
|
jsonrpc: gofmt
|
2019-07-23 02:40:01 +02:00 |
|
Łukasz Magiera
|
790ed0730e
|
jsonrpc: use testify in tests
|
2019-07-23 02:40:01 +02:00 |
|
Łukasz Magiera
|
ff4d1b5819
|
jsonrpc: Channel support
|
2019-07-23 02:40:01 +02:00 |
|
whyrusleeping
|
05b8158285
|
implement a few of the TODOs
|
2019-07-20 16:37:37 -07:00 |
|
Whyrusleeping
|
69b8ec42af
|
Merge pull request #56 from filecoin-project/fix/ws-disconn-hang
jsonrpc: Don't hang when remote crashes
|
2019-07-18 09:51:29 -07:00 |
|
Łukasz Magiera
|
185db76646
|
jsonrpc: don't hang when remote crashes
|
2019-07-18 13:26:09 +02:00 |
|
Łukasz Magiera
|
055a98c57b
|
jsonrpc: fix test
|
2019-07-18 13:09:13 +02:00 |
|
Łukasz Magiera
|
2b651ad04d
|
jsonrpc: better server errors on unmarshal
|
2019-07-18 13:07:28 +02:00 |
|
Łukasz Magiera
|
e32d7aee12
|
jsonrpc: wrap result unmarshal errors
|
2019-07-18 12:46:32 +02:00 |
|
Łukasz Magiera
|
661043f5c8
|
Lint fixes
|
2019-07-15 18:34:55 +02:00 |
|
Łukasz Magiera
|
1153f050bb
|
Context cancellation over websockets
|
2019-07-15 18:21:48 +02:00 |
|
Łukasz Magiera
|
b93d71e8cb
|
jsonrpc: ws addresses in tests
|
2019-07-15 17:05:45 +02:00 |
|
Łukasz Magiera
|
96ed4225fb
|
improve error handling in handleWsConn
|
2019-07-13 14:44:20 +02:00 |
|
Łukasz Magiera
|
df90b72500
|
jsonrpc: update tests
|
2019-07-12 19:12:51 +02:00 |
|
Łukasz Magiera
|
6a20d0dafe
|
jsonrpc: Websocket server
|
2019-07-12 19:12:38 +02:00 |
|
Łukasz Magiera
|
0eb208e1d3
|
WS JsonRPC client
|
2019-07-12 17:29:41 +02:00 |
|
Łukasz Magiera
|
1bead4bb7e
|
jsonrpc: client debug logging
|
2019-07-09 15:16:15 +02:00 |
|
Łukasz Magiera
|
cdca2ff2c7
|
Some net commands / apis
|
2019-07-08 21:07:16 +02:00 |
|
Łukasz Magiera
|
9299ba5fa6
|
Fix imports
|
2019-07-08 14:46:30 +02:00 |
|
Łukasz Magiera
|
4ef4721820
|
Move json/cbor rpc to lib
|
2019-07-08 13:02:02 +02:00 |
|