bwt-dev / bwt

A lightweight wallet indexer for Bitcoin, available as an Electrum RPC server and a modern HTTP REST API.
https://bwt.dev
MIT License
275 stars 26 forks source link

Support coinbase outputs #93

Open shesek opened 3 years ago

shesek commented 3 years ago

Typically needed for regtest chains.

See https://github.com/sparrowwallet/sparrow/issues/265

GambolingPangolin commented 3 years ago

Here is a similar change in the Electrum Personal Server repo: https://github.com/chris-belcher/electrum-personal-server/pull/64

FWIW electrum tracks coinbase transactions. It shows an "unmatured" balance as needed and does not include immature coinbase transactions in the spendable set.

VzxPLnHqr commented 3 years ago

For what it is worth, I also ran into this when trying to get a local sparrow + regtest (bitcoind) up and running. I used an address from the regtest sparrow wallet as the bitcoin-cli generatetoaddress target and was unable to see any of the transactions in sparrow.