Comments (4)
Update: had to run bitcoin-cli createwallet to first create a wallet into bitcoin core and then I was able to watch an address, but is this the right flow? regards.
Also, doing this (even with unused address) I always get:
failed: ImportMultiResult { success: false, warnings: [], error: Some(ImportMultiResultError { code: -1, message: "Rescan failed for key with creation timestamp 0. There was an error reading a block from time 1614942461, which is after or within 7200 seconds of key creation, and could contain transactions pertaining to the key. As a result, transactions and coins using this key may not appear in the wallet. This error could be caused by pruning or data corruption (see bitcoind log for details) and could be dealt with by downloading and rescanning the relevant blocks (see -reindex and -rescan options)." }) }
I'm running a prunned node.
from bwt.
run bitcoin-cli createwallet to first create a wallet into bitcoin core and then I was able to watch an address, but is this the right flow?
Yes, Bitcoin Core v0.21 no longer comes with a default wallet, so one has to be created. If you have multiple wallets you can use --bitcoind-wallet <name>
(or -w <name>
) to specify which one to use. You can also use --create-wallet-if-missing
to have bwt create one of your automatically.
Together, you can use -w bwt --create-wallet-if-missing
to create a 'bwt' wallet for use with bwt.
See https://github.com/bwt-dev/bwt#bitcoin-core-multi-wallet.
Rescan failed for key with creation timestamp 0.
If you have pruning enabled, you need to set --rescan-since <date>
with a YYYY-MM-DD formatted date that is within the range of non-pruned blocks. This should be set to the approximate time where the wallet was created (err on the too early side).
See https://github.com/bwt-dev/bwt#pruning
from bwt.
Closing for now, please report back if you're still having issues.
from bwt.
error code: -4
error message:
Wallet file verification failed. SQLiteDatabase: Unable to obtain an exclusive lock on the database, is it being used by another instance of Bitcoin Core?
I tried to loadwallet, but it reports the above issue. | I use pruned node.
from bwt.
Related Issues (20)
- GPG key expired HOT 2
- document all RPC calls
- Cannot connect to server HOT 1
- Field keypoololdest returned from getwalletinfo should not be required
- rpc blockchain.relayfee peer panicked on 'Option::unwrap()' HOT 1
- https://github.com/btcpayserver/btcpayserver-docker HOT 1
- Compatibility with Bitcoin Core v0.21 HOT 1
- Multi-arch docker images
- Use testmempoolaccept to determine if the transaction is valid prior to custom broadcast
- Switch WebHooks to use ureq/attohttpc
- `error for getwalletinfo: RpcError { code: -32601, message: "Method not found", data: None }` HOT 1
- Feature Request: elements/liquid chains HOT 4
- Feature Request: Add tracked accounts at runtime HOT 2
- Optional ASCII-only console output HOT 3
- Add Taproot support HOT 10
- Support coinbase outputs HOT 2
- Connection via Bitcoin RPC fails in Bitcoin v23 rc2 HOT 7
- Fee field for getrawmempool has moved in Bitcoin v23 rc2
- Allow configuration of separate RPC socket connect timeout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bwt.