herald.go/server
Jonathan Moody 317cdf7129
WIP: blockchain.transaction.yyy JSON RPC implementations (#78)
* Partial blockchain.transaction.yyy RPC implementations.

* Register RPC service object.

* Move session manager start/stop to a better place.

* Attempt to fill in the details of transaction.get_batch,
including merkle path.

* Correct interpretation of DBStateValue Genesis hash.

* Convert Args.Port to int and validate. Run UDP ping server on JSONRPCPort too.

* Add BlockHeader to HeightHash notification.

* Limit session-based JSON RPC service to IPv4.
Client not ready for IPv6.

* Adapt to new HeightHash struct.

* Fine tune JSON RPC handlers and types to match lbry-sdk expectations.
Implement UnmarshalJSON()/MarshalJSON() for several types.

* Add more special handling of DBStateValue.Genesis hash.

* Set IncludeStop=false generally to avoid returning extra rows.
Other misc fixes.
2022-12-06 16:14:28 -05:00
..
args.go WIP: blockchain.transaction.yyy JSON RPC implementations (#78) 2022-12-06 16:14:28 -05:00
args_test.go Herald.go (#47) 2022-08-09 14:43:01 +03:00
federation.go WIP: blockchain.transaction.yyy JSON RPC implementations (#78) 2022-12-06 16:14:28 -05:00
federation_test.go WIP: blockchain.transaction.yyy JSON RPC implementations (#78) 2022-12-06 16:14:28 -05:00
jsonrpc_blockchain.go WIP: blockchain.transaction.yyy JSON RPC implementations (#78) 2022-12-06 16:14:28 -05:00
jsonrpc_blockchain_test.go WIP: blockchain.transaction.yyy JSON RPC implementations (#78) 2022-12-06 16:14:28 -05:00
jsonrpc_claimtrie.go Add subscribe/unsubscribe RPCs. Add session, sessionManager, and serve JSON RPC (without HTTP). (#66) 2022-10-04 17:05:06 +03:00
jsonrpc_server.go JSON RPC compatibility workarounds to support lbry-sdk (#75) 2022-10-29 18:42:24 +03:00
jsonrpc_service.go WIP: blockchain.transaction.yyy JSON RPC implementations (#78) 2022-12-06 16:14:28 -05:00
notifier.go Add subscribe/unsubscribe RPCs. Add session, sessionManager, and serve JSON RPC (without HTTP). (#66) 2022-10-04 17:05:06 +03:00
notifier_test.go Server endpoints goroutine refactor (#69) 2022-10-25 08:48:13 +03:00
search.go Herald.go (#47) 2022-08-09 14:43:01 +03:00
search_test.go Server endpoints goroutine refactor (#69) 2022-10-25 08:48:13 +03:00
server.go WIP: blockchain.transaction.yyy JSON RPC implementations (#78) 2022-12-06 16:14:28 -05:00
server_test_pkg.go Server endpoints goroutine refactor (#69) 2022-10-25 08:48:13 +03:00
session.go WIP: blockchain.transaction.yyy JSON RPC implementations (#78) 2022-12-06 16:14:28 -05:00
udp.go WIP: blockchain.transaction.yyy JSON RPC implementations (#78) 2022-12-06 16:14:28 -05:00
udp_test.go Server endpoints goroutine refactor (#69) 2022-10-25 08:48:13 +03:00