ac2c3bcb3bSet IncludeStop=false generally to avoid returning extra rows. Other misc fixes.
Jonathan Moody
2022-12-06 11:48:43 -0500
ee95fea47cAdd more special handling of DBStateValue.Genesis hash.
Jonathan Moody
2022-11-30 16:37:18 -0600
829a2682edFine tune JSON RPC handlers and types to match lbry-sdk expectations. Implement UnmarshalJSON()/MarshalJSON() for several types.
Jonathan Moody
2022-11-22 14:44:05 -0600
6965e64a8bAdapt to new HeightHash struct.
Jonathan Moody
2022-11-22 13:33:54 -0600
22a50ad085Limit session-based JSON RPC service to IPv4. Client not ready for IPv6.
Jonathan Moody
2022-11-22 13:27:40 -0600
90b641c86cAdd BlockHeader to HeightHash notification.
Jonathan Moody
2022-11-22 10:29:44 -0600
d5d8e0db7fConvert Args.Port to int and validate. Run UDP ping server on JSONRPCPort too.
Jonathan Moody
2022-11-22 10:17:35 -0600
6a4239e1b8Correct interpretation of DBStateValue Genesis hash.
Jonathan Moody
2022-11-22 09:52:02 -0600
79aed85b17Attempt to fill in the details of transaction.get_batch, including merkle path.
Jonathan Moody
2022-10-25 17:15:33 -0400
6e41369805Move session manager start/stop to a better place.
Jonathan Moody
2022-10-20 14:44:57 -0400
cb7f7a157fRegister RPC service object.
Jonathan Moody
2022-10-20 14:28:09 -0400
8c2df7e62aPartial blockchain.transaction.yyy RPC implementations.
Jonathan Moody
2022-10-20 14:05:16 -0400
JSON RPC compatibility workarounds to support lbry-sdk (#75)
Jonathan Moody
2022-10-29 11:42:24 -0400
18fa12a6bdElaborate comment on jsonPatchingCodec.
Jonathan Moody
2022-10-28 09:31:10 -0400
a3bedc2c1dWorkaround to allow lbry-sdk to call server.version and server.features. Incoming/outgoing JSON is patched using yet another codec (jsonPatchingCodec). Add more logging of raw/patched JSON.
Jonathan Moody
2022-10-27 15:52:03 -0400
Add subscribe/unsubscribe RPCs. Add session, sessionManager, and serve JSON RPC (without HTTP). (#66)
Jonathan Moody
2022-10-04 10:05:06 -0400
5f068341e3Use time.Ticker object to drive management activity.
blockchain_rpc2
Jonathan Moody
2022-10-03 14:37:00 -0400
1eb645a0b9HashXStatus, HashXMempoolStatus not populated by default. Fix GetStatus().
Jonathan Moody
2022-09-29 15:13:30 -0500
a91e9f82ffAdd tests for headers, headers.subscribe, address.subscribe.
Jonathan Moody
2022-09-29 12:12:38 -0500
3ddcbbb55dChanges to make session.go testable. Conn created with Pipe() used in testing has no unique Addr.
Jonathan Moody
2022-09-29 12:10:06 -0500
813fd4590aAdd --max-sessions, --session-timeout args. Enforce max sessions.
Jonathan Moody
2022-09-28 14:49:32 -0500
e56edf0c9aHandle failures with goto instead of break. Update error logging.
Jonathan Moody
2022-09-28 11:26:30 -0500
c42a4689cdOnly assign default port (50001) if neither --json-rpc-port nor --json-rpc-http-port are specified.
Jonathan Moody
2022-09-27 20:00:42 -0500
1d227dbca8Support both pure JSON and JSON-over-HTTP services. Forward NotifierChan messages to sessionManager.
Jonathan Moody
2022-09-27 18:46:11 -0500
b9cb9d8c5aMake the service objects independent, so we don't have inheritance.
Jonathan Moody
2022-09-27 18:08:16 -0500
8c66d67a52Implement GetStatus() to pull data from HashXStatus table.
Jonathan Moody
2022-09-27 18:02:08 -0500
603a18f590Drop http.Request arg from handlers, and use RegisterTCPService().
Jonathan Moody
2022-09-27 17:47:27 -0500
d03c992a25Rename BlockchainService -> BlockchainBlockService.
Jonathan Moody
2022-09-27 17:34:41 -0500
a5d07e0595Pull out decode logic into named func newBlockHeaderElectrum().
Jonathan Moody
2022-09-27 17:25:27 -0500
2e666843f1Move claimtrie-related service/handlers to jsonrpc_claimtrie.go.
Jonathan Moody
2022-09-27 17:10:49 -0500
4005996992Move and rename BlockchainCodec, BlockchainCodecRequest. These are not specifically "blockchain", rather they are specific to how gorilla/rpc works.
Jonathan Moody
2022-09-27 17:07:16 -0500
Adjust EffectiveAmountValue to include ActivatedSupportSum. (#61)
Jonathan Moody
2022-09-16 10:03:15 -0500
60b6c345a8Adjust EffectiveAmountValue to include ActivatedSupportSum. Make use of this in GetEffectiveAmount() tests.
Jonathan Moody
2022-09-14 15:51:21 -0500
Merge pull request #55 from moodyjon/blockchain_rpc1
Jonathan Moody
2022-09-14 10:23:34 -0500
86a287ec69Skip TestUDPPing if production server is down.
blockchain_rpc1
Jonathan Moody
2022-09-13 15:34:09 -0500
891f63fb5cUpdate jsonrpc_blockchain_tests.go for new sample data.
Jonathan Moody
2022-09-13 15:33:24 -0500
789974227fAdd sample data from test_variety_of_transactions_and_longish_history. Rework tests to use the sample data.
Jonathan Moody
2022-09-13 15:05:11 -0500
71e79c553eOne more RPC (get_server_height), and update comment to include full RPC name.
Jonathan Moody
2022-09-08 13:17:52 -0500
b298454727Fix RPC handler registration and BlockGetChunkResp name.
Jonathan Moody
2022-09-08 11:50:06 -0500
8c8871b4d2Register blockchain.* handlers in jsonrpc_service.go.
Jonathan Moody
2022-09-07 15:01:47 -0500
20e32437e9Rename blockchain.go -> jsonrpc_blockchain.go.
Jonathan Moody
2022-09-07 14:06:31 -0500
d0d6145f9dRefactor blockchain.go handlers to be compatible with gorilla/rpc. Add speculative BlockchainCodecRequest which might handle rewriting incoming method names.
Jonathan Moody
2022-09-07 13:49:34 -0500
90afae7cd5Add scripthash variants of RPC handlers.
Jonathan Moody
2022-09-02 16:46:35 -0500