GithubHelp home page GithubHelp logo

Comments (4)

maxidev avatar maxidev commented on August 16, 2024

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.

shesek avatar shesek commented on August 16, 2024

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.

shesek avatar shesek commented on August 16, 2024

Closing for now, please report back if you're still having issues.

from bwt.

sohrubh avatar sohrubh commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.