Jonathan Moody
|
86a287ec69
|
Skip TestUDPPing if production server is down.
|
2022-09-13 15:35:54 -05:00 |
|
Jonathan Moody
|
891f63fb5c
|
Update jsonrpc_blockchain_tests.go for new sample data.
|
2022-09-13 15:33:24 -05:00 |
|
Jonathan Moody
|
789974227f
|
Add sample data from test_variety_of_transactions_and_longish_history.
Rework tests to use the sample data.
|
2022-09-13 15:05:11 -05:00 |
|
Jonathan Moody
|
71e79c553e
|
One more RPC (get_server_height), and update comment
to include full RPC name.
|
2022-09-08 13:17:52 -05:00 |
|
Jonathan Moody
|
b298454727
|
Fix RPC handler registration and BlockGetChunkResp name.
|
2022-09-08 11:50:06 -05:00 |
|
Jonathan Moody
|
8c8871b4d2
|
Register blockchain.* handlers in jsonrpc_service.go.
|
2022-09-07 15:01:47 -05:00 |
|
Jonathan Moody
|
20e32437e9
|
Rename blockchain.go -> jsonrpc_blockchain.go.
|
2022-09-07 14:32:34 -05:00 |
|
Jonathan Moody
|
d0d6145f9d
|
Refactor blockchain.go handlers to be compatible with gorilla/rpc.
Add speculative BlockchainCodecRequest which might handle rewriting
incoming method names.
|
2022-09-07 14:32:34 -05:00 |
|
Jonathan Moody
|
90afae7cd5
|
Add scripthash variants of RPC handlers.
|
2022-09-07 14:32:34 -05:00 |
|
Jonathan Moody
|
f5b8f2ce0d
|
Add --chain=X argument, and use it to determine chain when DB is empty.
|
2022-09-07 14:32:34 -05:00 |
|
Jonathan Moody
|
321bcf6420
|
Fix encoding of TX and Block hashes in response.
|
2022-09-07 14:32:34 -05:00 |
|
Jonathan Moody
|
293a3f685e
|
Fix some DB logic and add tests (blockchain_test.go).
|
2022-09-07 14:32:34 -05:00 |
|
Jonathan Moody
|
f55a5ed777
|
Continuing blockchain RPC handler work. Add JSON tags.
Fetch Height using TxCounts.
|
2022-09-07 14:32:34 -05:00 |
|
Jonathan Moody
|
50f7e91ead
|
Infer chain (mainnet, testnet3, regtest) based on DBStateValue.
Correct typo DDVersion -> DBVersion. Misc logging improvements.
|
2022-09-07 14:32:34 -05:00 |
|
Jonathan Moody
|
fe18c70bf7
|
Add some blockchain RPC handlers and database fetching routines.
|
2022-09-07 14:32:20 -05:00 |
|