Please describe the feature you’d like to see added.
Currently I do following regularly every couple of days in order to refresh faucet wallets and reclaim megabytes of disk space:
0cd ~/.bitcoin/signet/wallets
1bitcoin-cli -signet createwallet name false true
2# blank with private-keys enabled
3cd name
4dt=../listdescriptors-true.txt
5A=$(sed 's/"timestamp".*$/"timestamp":"now",/' $dt | jq -rc .descriptors)
6bitcoin-cli importdescriptors $A
It works well for me (in connection with another readlink
hack allowing me to use symlinks for wallet entry path) but I am wondering about a feature, a new option to createwallet
RPC that would create a wallet which does not keep track of spent transacrions, only what is now in blocks (chainstate) and mempool.
Is your feature related to a problem, if so please describe it.
When writing a faucet I first realized there is no point in playing privacy here since the amount of wallet data tracking all the new addresses (incl. random new “change” addresses) can grow huge and soon make the faucet unusable.
Describe the solution you’d like
I would like wallet.dat
sqlite in this mode to not track the historical transactions other thatn confirmed unspent ones, everything else would stay as normal wallet with or without private keys.
Describe any alternatives you’ve considered
Before I was doing also scantxoutset
without any wallet. It actually provided me with unspent outputs that were confirmed in blocks and then I could just signrawtransactionwithkey
. But using a wallet has many advantages, I just imagine this new memory-only (“light mode”) would be helpful.
Please leave any additional context
Currently there are following HTTP-served faucets I know of:
Ignoring the dying Testnet3 now.
On Signet:
On Testnet4:
- https://mempool.space/testnet4/faucet
- https://coinfaucet.eu/en/btc-testnet4/
- https://testnet4.anyone.eu.org/ *
- https://faucet.testnet4.dev/
* Testnet4 faucet on anyone.eu.org is generally the same as alt.signetfaucet.com but not kept in a lockstep so it does not do Cloudflare Turnstile or TRUC replacements yet.