-
Notifications
You must be signed in to change notification settings - Fork 14
Prerequisites
To use the functionality provided by the BitcoinBlockchain library, the application using it must have access to blockchain data files like those maintained by the Bitcoin Core client. Other Bitcoin clients like Armory also use Bitcoin Core under the hood and with those clients you will also have access to the blockchain data files.
By default, the blockchain data files are stored by Bitcoin Core at:
%appdata%\Bitcoin\blocks
On Windows 7 and later that is:
C:\Users\user_name\AppData\Roaming\Bitcoin\blocks
The BitcoinBlockchain library does not have any dependencies on Bitcoin Core or any other Bitcoin client. It only needs access to the data contained in the blockchain files produced by Bitcoin Core. You can copy those files, move them on a different system and access them from there.
The BitcoinBlockchain library can also be used without the access to the physical blockchain files as long as you can provide binary streams each containing blockchain data in a format identical to that of a blockchain file. You can write a client that downloads the blockchain over the Internet or over a network and feed that data into the BitcoinBlockchain parser.
To get more information on the format of the Blockchain files see:
External Links