-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Description
getrawmempool rpc response is missing multiple fields like fees
that make it impossible to use the rpc client with a vanilla bitcoin core node.
fees
were added in bitcoin 0.17.0 almost 7 years ago: https://bitcoincore.org/en/releases/0.17.0/
i can look into creating a PR to make this parity but wanted to ask first if it's desired.
current response struct:
btcd/btcjson/chainsvrresults.go
Lines 468 to 478 in 09ba026
type GetRawMempoolVerboseResult struct { | |
Size int32 `json:"size"` | |
Vsize int32 `json:"vsize"` | |
Weight int32 `json:"weight"` | |
Fee float64 `json:"fee"` | |
Time int64 `json:"time"` | |
Height int64 `json:"height"` | |
StartingPriority float64 `json:"startingpriority"` | |
CurrentPriority float64 `json:"currentpriority"` | |
Depends []string `json:"depends"` | |
} |
bitcoin core:
https://bitcoincore.org/en/doc/28.0.0/rpc/blockchain/getrawmempool/
