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,
|
services.HistoricalBalanceLookup,
|
||||||
[]*types.NetworkIdentifier{cfg.Network},
|
[]*types.NetworkIdentifier{cfg.Network},
|
||||||
nil,
|
nil,
|
||||||
false,
|
services.IncludeMempoolCoins,
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Fatalw("unable to create new server asserter", "error", err)
|
logger.Fatalw("unable to create new server asserter", "error", err)
|
||||||
|
|
|
@ -99,7 +99,7 @@ func (s *NetworkAPIService) NetworkOptions(
|
||||||
OperationTypes: bitcoin.OperationTypes,
|
OperationTypes: bitcoin.OperationTypes,
|
||||||
Errors: Errors,
|
Errors: Errors,
|
||||||
HistoricalBalanceLookup: HistoricalBalanceLookup,
|
HistoricalBalanceLookup: HistoricalBalanceLookup,
|
||||||
MempoolCoins: MempoolCoins,
|
MempoolCoins: IncludeMempoolCoins,
|
||||||
},
|
},
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,8 +31,10 @@ const (
|
||||||
// that historical balance lookup is supported.
|
// that historical balance lookup is supported.
|
||||||
HistoricalBalanceLookup = true
|
HistoricalBalanceLookup = true
|
||||||
|
|
||||||
//Include mempool coins when fetching account coints
|
// IncludeMempoolCoins indicates that
|
||||||
MempoolCoins = false
|
// including mempool coins in the /account/coins
|
||||||
|
// response is not supported.
|
||||||
|
IncludeMempoolCoins = false
|
||||||
|
|
||||||
// inlineFetchLimit is the maximum number
|
// inlineFetchLimit is the maximum number
|
||||||
// of transactions to fetch inline.
|
// of transactions to fetch inline.
|
||||||
|
|
Loading…
Reference in a new issue