Cleanup IncludeMempoolCoins

This commit is contained in:
Patrick O'Grady 2020-11-13 11:24:06 -08:00
parent dca1a597ed
commit b34f37b5e7
No known key found for this signature in database
GPG key ID: 8DE11C985C0C8D85
3 changed files with 6 additions and 4 deletions

View file

@ -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)

View file

@ -99,7 +99,7 @@ func (s *NetworkAPIService) NetworkOptions(
OperationTypes: bitcoin.OperationTypes,
Errors: Errors,
HistoricalBalanceLookup: HistoricalBalanceLookup,
MempoolCoins: MempoolCoins,
MempoolCoins: IncludeMempoolCoins,
},
}, nil
}

View file

@ -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.