WIP: blockchain.transaction.yyy JSON RPC implementations #78

Merged
moodyjon merged 12 commits from blockchain_tx_rpc1 into master 2022-12-06 22:14:28 +01:00

12 commits

Author SHA1 Message Date
Jonathan Moody ac2c3bcb3b Set IncludeStop=false generally to avoid returning extra rows.
Other misc fixes.
2022-12-06 11:48:43 -05:00
Jonathan Moody ee95fea47c Add more special handling of DBStateValue.Genesis hash. 2022-11-30 16:37:18 -06:00
Jonathan Moody 829a2682ed Fine tune JSON RPC handlers and types to match lbry-sdk expectations.
Implement UnmarshalJSON()/MarshalJSON() for several types.
2022-11-22 14:44:05 -06:00
Jonathan Moody 6965e64a8b Adapt to new HeightHash struct. 2022-11-22 13:33:54 -06:00
Jonathan Moody 22a50ad085 Limit session-based JSON RPC service to IPv4.
Client not ready for IPv6.
2022-11-22 13:27:40 -06:00
Jonathan Moody 90b641c86c Add BlockHeader to HeightHash notification. 2022-11-22 10:29:44 -06:00
Jonathan Moody d5d8e0db7f Convert Args.Port to int and validate. Run UDP ping server on JSONRPCPort too. 2022-11-22 10:17:35 -06:00
Jonathan Moody 6a4239e1b8 Correct interpretation of DBStateValue Genesis hash. 2022-11-22 09:52:02 -06:00
Jonathan Moody 79aed85b17 Attempt to fill in the details of transaction.get_batch,
including merkle path.
2022-10-31 10:49:40 -04:00
Jonathan Moody 6e41369805 Move session manager start/stop to a better place. 2022-10-31 10:49:40 -04:00
Jonathan Moody cb7f7a157f Register RPC service object. 2022-10-31 10:49:40 -04:00
Jonathan Moody 8c2df7e62a Partial blockchain.transaction.yyy RPC implementations. 2022-10-31 10:49:40 -04:00