Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A database is a store of information (data) about a specific subject area. Specific software to facilitate the storage indexing and retrieval of a database is known as a database management system DBMS. For example, The Bitcoin-Core wallet uses several DBMS' to maintain several databases about wallet contents and about the list of transactions known as the blockchain.
1
vote
what's CCoinsViewDB::GetHeadBlocks for?
In the event of an unclean shutdown or database crash, these values are already written to the database so it can pull those out of the database, know where its last known good database state was at, and … For example, suppose the database was at block 50, and it is flushing to block 60. When it begins flushing, the hashes of blocks 50 and 60 are written to the database. …
4
votes
Accepted
explore sqlite wallet
The data stored is binary data, which is why it comes out garbled. It is not text. So you will have to convert the data to something human readable. One such method is to convert it to hex. One such q …
2
votes
Accepted
Tiny 1-block forks in blk.dat files
This is normal, especially on testnet. What you are seeing are known as stale blocks (or also incorrectly as orphan blocks). These occur when miners complete a block at around the same time so some no …
4
votes
Why was Bitcoin Core in need of a fork of LevelDB?
Sometimes LevelDB has bugs and those bugs sometimes are not fixed in a timely manner in the upstream LevelDB project. These bugs can be problematic for Bitcoin Core so a fork of LevelDB was created to …
2
votes
Accepted
Layout of new SQLite descriptor wallets in v0.21 and v22.0?
An extended public key contains the chaincode, so it is not stored separately. So the tpubs that you have found will contain the chaincode.
The private keys are not encrypted, and unencrypted private …
4
votes
Accepted
How can one examine the contents of the wallet.dat file using sqlite3?
It only retrieves data on loading, and will occasionally write to the database. … By locking the database when bitcoind has that wallet loaded, it can ensure that nothing else is going to modify the database and thus have better guarantees that the state on disk matches the state in …
2
votes
Recovery of a corrupted wallet
Once you do that, delete the database/ folder and start Bitcoin Core. …
5
votes
Accepted
What data does the Bitcoin Core wallet search for during a blockchain rescan?
Does the wallet database store a table of all the actual output scripts (i.e. witness programs) derived from its keypool?
Kind of. … One thing to note though is that this scriptPubKey set is not stored in the database. Once the wallet is unloaded, the set is forgotten. It will be recomputed every time the wallet is loaded. …
5
votes
Accepted
Bitcoind Node crashes after using -dbcache option
You are allocating far too much dbcache. If you allocate 4000 MB to the dbcache, you will use up all of your RAM and it will crash. Your operating system needs RAM, Bitcoin Core itself needs RAM outsi …
7
votes
Accepted
What database engine does Bitcoin and other top altcoins use?
The network itself does not have a database engine. … However different implementations can use whatever database engine they want. For example, Armory uses LMDB for storing block indexes and other chainstate data. …