Cleanup IncludeMempoolCoins
This commit is contained in:
parent
dca1a597ed
commit
b34f37b5e7
3 changed files with 6 additions and 4 deletions
2
main.go
2
main.go
|
@ -157,7 +157,7 @@ func main() {
|
|||
services.HistoricalBalanceLookup,
|
||||
[]*types.NetworkIdentifier{cfg.Network},
|
||||
nil,
|
||||
false,
|
||||
services.IncludeMempoolCoins,
|
||||
)
|
||||
if err != nil {
|
||||
logger.Fatalw("unable to create new server asserter", "error", err)
|
||||
|
|
|
@ -99,7 +99,7 @@ func (s *NetworkAPIService) NetworkOptions(
|
|||
OperationTypes: bitcoin.OperationTypes,
|
||||
Errors: Errors,
|
||||
HistoricalBalanceLookup: HistoricalBalanceLookup,
|
||||
MempoolCoins: MempoolCoins,
|
||||
MempoolCoins: IncludeMempoolCoins,
|
||||
},
|
||||
}, nil
|
||||
}
|
||||
|
|
|
@ -31,8 +31,10 @@ const (
|
|||
// that historical balance lookup is supported.
|
||||
HistoricalBalanceLookup = true
|
||||
|
||||
//Include mempool coins when fetching account coints
|
||||
MempoolCoins = false
|
||||
// IncludeMempoolCoins indicates that
|
||||
// including mempool coins in the /account/coins
|
||||
// response is not supported.
|
||||
IncludeMempoolCoins = false
|
||||
|
||||
// inlineFetchLimit is the maximum number
|
||||
// of transactions to fetch inline.
|
||||
|
|
Loading…
Reference in a new issue