Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fees command returns invalid response #244

Open
Harshit933 opened this issue Jun 5, 2024 · 0 comments
Open

Fees command returns invalid response #244

Harshit933 opened this issue Jun 5, 2024 · 0 comments

Comments

@Harshit933
Copy link
Collaborator

Harshit933 commented Jun 5, 2024

[doom@archlinux ~]$ lampo-cli --network testnet fees
{
  "non_anchor_channel": null,
  "channel_close_minimum": null,
  "min_allowed_anchor_channel_remote": null,
  "anchor_chanenl": null,
  "on_chain_sweep": null,
  "min_allowed_non_anchor_channel_remote": null
}

Log :

2024-06-05T13:47:44.770Z INFO jsonrpc buffer read {"method":"fees","params":{},"id":"0","jsonrpc":"2.0"}. [lampo-jsonrpc/src/lib.rs:143]
2024-06-05T13:47:44.770Z TRACE jsonrpc request Request { method: "fees", params: Object {}, id: Some(Str("0")), jsonrpc: "2.0" }. [lampo-jsonrpc/src/lib.rs:150]
2024-06-05T13:47:44.770Z INFO lampod::jsonrpc::onchain call for `estimate_fees` with request `Object {}`. [lampod/src/jsonrpc/onchain.rs:35]
2024-06-05T13:47:44.770Z DEBUG bitcoincore_rpc JSON-RPC request: estimatesmartfee [1]. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.771Z TRACE bitcoincore_rpc JSON-RPC response for estimatesmartfee: {"errors":["Insufficient data or no feerate found"],"blocks":0}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.771Z DEBUG bitcoincore_rpc JSON-RPC request: getblockchaininfo []. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.773Z TRACE bitcoincore_rpc JSON-RPC response for getblockchaininfo: {"chain":"test","blocks":2601747,"headers":2820126,"bestblockhash":"000000000005e0a1aa92084509c7d30566e58c80d7da6604b4ec88f1c1128124","difficulty":10037.81916087054,"time":1713761511,"mediantime":1713761507,"verificationprogress":0.9375109366214958,"initialblockdownload":true,"chainwork":"000000000000000000000000000000000000000000000d8f22c95659fc721ec5","size_on_disk":618229752,"pruned":true,"pruneheight":2588535,"automatic_pruning":true,"prune_target_size":629145600,"warnings":""}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.774Z DEBUG bitcoincore_rpc JSON-RPC request: getnetworkinfo []. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.775Z TRACE bitcoincore_rpc JSON-RPC response for getnetworkinfo: {"version":270000,"subversion":"/Satoshi:27.0.0/","protocolversion":70016,"localservices":"0000000000000c08","localservicesnames":["WITNESS","NETWORK_LIMITED","P2P_V2"],"localrelay":true,"timeoffset":-1,"networkactive":true,"connections":10,"connections_in":0,"connections_out":10,"networks":[{"name":"ipv4","limited":false,"reachable":true,"proxy":"","proxy_randomize_credentials":false},{"name":"ipv6","limited":false,"reachable":true,"proxy":"","proxy_randomize_credentials":false},{"name":"onion","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false},{"name":"i2p","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false},{"name":"cjdns","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false}],"relayfee":0.00001000,"incrementalfee":0.00001000,"localaddresses":[{"address":"2401:4900:1f30:254e:985b:cb25:a955:b3d1","port":18333,"score":1}],"warnings":""}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.775Z DEBUG bitcoincore_rpc JSON-RPC request: estimatesmartfee [6]. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.775Z TRACE bitcoincore_rpc JSON-RPC response for estimatesmartfee: {"errors":["Insufficient data or no feerate found"],"blocks":0}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.775Z DEBUG bitcoincore_rpc JSON-RPC request: getblockchaininfo []. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.778Z TRACE bitcoincore_rpc JSON-RPC response for getblockchaininfo: {"chain":"test","blocks":2601754,"headers":2820126,"bestblockhash":"0000000000062f974027f13e5ce831876c5c88017cd985a949b9f1b75caeaaa8","difficulty":10037.81916087054,"time":1713761516,"mediantime":1713761512,"verificationprogress":0.9375110178959605,"initialblockdownload":true,"chainwork":"000000000000000000000000000000000000000000000d8f22ca68d3cadb9d36","size_on_disk":618230039,"pruned":true,"pruneheight":2588535,"automatic_pruning":true,"prune_target_size":629145600,"warnings":""}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.778Z DEBUG bitcoincore_rpc JSON-RPC request: getnetworkinfo []. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.779Z TRACE bitcoincore_rpc JSON-RPC response for getnetworkinfo: {"version":270000,"subversion":"/Satoshi:27.0.0/","protocolversion":70016,"localservices":"0000000000000c08","localservicesnames":["WITNESS","NETWORK_LIMITED","P2P_V2"],"localrelay":true,"timeoffset":-1,"networkactive":true,"connections":10,"connections_in":0,"connections_out":10,"networks":[{"name":"ipv4","limited":false,"reachable":true,"proxy":"","proxy_randomize_credentials":false},{"name":"ipv6","limited":false,"reachable":true,"proxy":"","proxy_randomize_credentials":false},{"name":"onion","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false},{"name":"i2p","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false},{"name":"cjdns","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false}],"relayfee":0.00001000,"incrementalfee":0.00001000,"localaddresses":[{"address":"2401:4900:1f30:254e:985b:cb25:a955:b3d1","port":18333,"score":1}],"warnings":""}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.779Z DEBUG bitcoincore_rpc JSON-RPC request: estimatesmartfee [6]. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.780Z TRACE bitcoincore_rpc JSON-RPC response for estimatesmartfee: {"errors":["Insufficient data or no feerate found"],"blocks":0}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.780Z DEBUG bitcoincore_rpc JSON-RPC request: getblockchaininfo []. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.782Z TRACE bitcoincore_rpc JSON-RPC response for getblockchaininfo: {"chain":"test","blocks":2601755,"headers":2820126,"bestblockhash":"000000000003b65aa102385dda55146b27204af7777ee909b96bea2377b85c6b","difficulty":10037.81916087054,"time":1713761517,"mediantime":1713761513,"verificationprogress":0.9375110338726435,"initialblockdownload":true,"chainwork":"000000000000000000000000000000000000000000000d8f22ca9009c3c61cfd","size_on_disk":618232940,"pruned":true,"pruneheight":2588535,"automatic_pruning":true,"prune_target_size":629145600,"warnings":""}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.783Z DEBUG bitcoincore_rpc JSON-RPC request: getnetworkinfo []. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.784Z TRACE bitcoincore_rpc JSON-RPC response for getnetworkinfo: {"version":270000,"subversion":"/Satoshi:27.0.0/","protocolversion":70016,"localservices":"0000000000000c08","localservicesnames":["WITNESS","NETWORK_LIMITED","P2P_V2"],"localrelay":true,"timeoffset":-1,"networkactive":true,"connections":10,"connections_in":0,"connections_out":10,"networks":[{"name":"ipv4","limited":false,"reachable":true,"proxy":"","proxy_randomize_credentials":false},{"name":"ipv6","limited":false,"reachable":true,"proxy":"","proxy_randomize_credentials":false},{"name":"onion","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false},{"name":"i2p","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false},{"name":"cjdns","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false}],"relayfee":0.00001000,"incrementalfee":0.00001000,"localaddresses":[{"address":"2401:4900:1f30:254e:985b:cb25:a955:b3d1","port":18333,"score":1}],"warnings":""}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.784Z DEBUG bitcoincore_rpc JSON-RPC request: getmempoolinfo []. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.785Z TRACE bitcoincore_rpc JSON-RPC response for getmempoolinfo: {"loaded":true,"size":0,"bytes":0,"usage":0,"total_fee":0.00000000,"maxmempool":300000000,"mempoolminfee":0.00001000,"minrelaytxfee":0.00001000,"incrementalrelayfee":0.00001000,"unbroadcastcount":0,"fullrbf":false}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.785Z DEBUG bitcoincore_rpc JSON-RPC request: estimatesmartfee [6]. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.785Z TRACE bitcoincore_rpc JSON-RPC response for estimatesmartfee: {"errors":["Insufficient data or no feerate found"],"blocks":0}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.786Z DEBUG bitcoincore_rpc JSON-RPC request: getblockchaininfo []. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.788Z TRACE bitcoincore_rpc JSON-RPC response for getblockchaininfo: {"chain":"test","blocks":2601762,"headers":2820126,"bestblockhash":"000000000004d382dd22f062ad1214c974448d3b83dd7cf8f73c439b04fa8f49","difficulty":10037.81916087054,"time":1713761523,"mediantime":1713761518,"verificationprogress":0.9375111304282691,"initialblockdownload":true,"chainwork":"000000000000000000000000000000000000000000000d8f22cba283922f9b6e","size_on_disk":618233487,"pruned":true,"pruneheight":2588535,"automatic_pruning":true,"prune_target_size":629145600,"warnings":""}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.788Z DEBUG bitcoincore_rpc JSON-RPC request: getnetworkinfo []. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.790Z TRACE bitcoincore_rpc JSON-RPC response for getnetworkinfo: {"version":270000,"subversion":"/Satoshi:27.0.0/","protocolversion":70016,"localservices":"0000000000000c08","localservicesnames":["WITNESS","NETWORK_LIMITED","P2P_V2"],"localrelay":true,"timeoffset":-1,"networkactive":true,"connections":10,"connections_in":0,"connections_out":10,"networks":[{"name":"ipv4","limited":false,"reachable":true,"proxy":"","proxy_randomize_credentials":false},{"name":"ipv6","limited":false,"reachable":true,"proxy":"","proxy_randomize_credentials":false},{"name":"onion","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false},{"name":"i2p","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false},{"name":"cjdns","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false}],"relayfee":0.00001000,"incrementalfee":0.00001000,"localaddresses":[{"address":"2401:4900:1f30:254e:985b:cb25:a955:b3d1","port":18333,"score":1}],"warnings":""}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.790Z DEBUG bitcoincore_rpc JSON-RPC request: estimatesmartfee [100]. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.790Z TRACE bitcoincore_rpc JSON-RPC response for estimatesmartfee: {"errors":["Insufficient data or no feerate found"],"blocks":0}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.790Z DEBUG bitcoincore_rpc JSON-RPC request: getblockchaininfo []. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.793Z TRACE bitcoincore_rpc JSON-RPC response for getblockchaininfo: {"chain":"test","blocks":2601762,"headers":2820126,"bestblockhash":"000000000004d382dd22f062ad1214c974448d3b83dd7cf8f73c439b04fa8f49","difficulty":10037.81916087054,"time":1713761523,"mediantime":1713761518,"verificationprogress":0.9375111304282691,"initialblockdownload":true,"chainwork":"000000000000000000000000000000000000000000000d8f22cba283922f9b6e","size_on_disk":618235567,"pruned":true,"pruneheight":2588535,"automatic_pruning":true,"prune_target_size":629145600,"warnings":""}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.793Z DEBUG bitcoincore_rpc JSON-RPC request: getnetworkinfo []. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.795Z TRACE bitcoincore_rpc JSON-RPC response for getnetworkinfo: {"version":270000,"subversion":"/Satoshi:27.0.0/","protocolversion":70016,"localservices":"0000000000000c08","localservicesnames":["WITNESS","NETWORK_LIMITED","P2P_V2"],"localrelay":true,"timeoffset":-1,"networkactive":true,"connections":10,"connections_in":0,"connections_out":10,"networks":[{"name":"ipv4","limited":false,"reachable":true,"proxy":"","proxy_randomize_credentials":false},{"name":"ipv6","limited":false,"reachable":true,"proxy":"","proxy_randomize_credentials":false},{"name":"onion","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false},{"name":"i2p","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false},{"name":"cjdns","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false}],"relayfee":0.00001000,"incrementalfee":0.00001000,"localaddresses":[{"address":"2401:4900:1f30:254e:985b:cb25:a955:b3d1","port":18333,"score":1}],"warnings":""}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.795Z DEBUG bitcoincore_rpc JSON-RPC request: estimatesmartfee [12]. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.796Z TRACE bitcoincore_rpc JSON-RPC response for estimatesmartfee: {"errors":["Insufficient data or no feerate found"],"blocks":0}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.796Z DEBUG bitcoincore_rpc JSON-RPC request: getblockchaininfo []. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.799Z TRACE bitcoincore_rpc JSON-RPC response for getblockchaininfo: {"chain":"test","blocks":2601773,"headers":2820126,"bestblockhash":"00000000000615f9e6b0fd1c4e9cceede31f9e8188ccc77816668062b9734309","difficulty":10037.81916087054,"time":1713761532,"mediantime":1713761527,"verificationprogress":0.9375112756094758,"initialblockdownload":true,"chainwork":"000000000000000000000000000000000000000000000d8f22cd51d5444318fb","size_on_disk":618236018,"pruned":true,"pruneheight":2588535,"automatic_pruning":true,"prune_target_size":629145600,"warnings":""}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.799Z DEBUG bitcoincore_rpc JSON-RPC request: getnetworkinfo []. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1322]
2024-06-05T13:47:44.799Z TRACE bitcoincore_rpc JSON-RPC response for getnetworkinfo: {"version":270000,"subversion":"/Satoshi:27.0.0/","protocolversion":70016,"localservices":"0000000000000c08","localservicesnames":["WITNESS","NETWORK_LIMITED","P2P_V2"],"localrelay":true,"timeoffset":-1,"networkactive":true,"connections":10,"connections_in":0,"connections_out":10,"networks":[{"name":"ipv4","limited":false,"reachable":true,"proxy":"","proxy_randomize_credentials":false},{"name":"ipv6","limited":false,"reachable":true,"proxy":"","proxy_randomize_credentials":false},{"name":"onion","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false},{"name":"i2p","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false},{"name":"cjdns","limited":true,"reachable":false,"proxy":"","proxy_randomize_credentials":false}],"relayfee":0.00001000,"incrementalfee":0.00001000,"localaddresses":[{"address":"2401:4900:1f30:254e:985b:cb25:a955:b3d1","port":18333,"score":1}],"warnings":""}. [/home/doom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcoincore-rpc-0.17.0/src/client.rs:1351]
2024-06-05T13:47:44.799Z TRACE jsonrpc send response: `Response { result: Some(Object {"channel_close_minimum": Null, "min_allowed_non_anchor_channel_remote": Null, "output_spending": Null, "on_chain_sweep": Null, "anchor_chanenl": Null, "non_anchor_channel": Null, "min_allowed_anchor_channel_remote": Null}), error: None, id: Str("0"), jsonrpc: "2.0" }`. [lampo-jsonrpc/src/lib.rs:192]
2024-06-05T13:47:44.799Z DEBUG lampo_jsonrpc writing the response `{"result":{"channel_close_minimum":null,"min_allowed_non_anchor_channel_remote":null,"output_spending":null,"on_chain_sweep":null,"anchor_chanenl":null,"non_anchor_channel":null,"min_allowed_anchor_channel_remote":null},"error":null,"id":"0","jsonrpc":"2.0"}`. [lampo-jsonrpc/src/lib.rs:240]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant