Learning Notes:G++ Tutorial (Copied)

Executive Summary This document is a brief description of how to compile basic C++ programs using g++. It provides sample command lines for invoking the g++ compiler and a list of some common compiler options. What is g++? g++ is your friendly Gnu C++ compiler. g++ does not handle templates well, but you can use … Continue reading Learning Notes:G++ Tutorial (Copied)


Bitcoin Notes 2

Directory Contents Files An overview of these is in files.md in the Bitcoin Core documentation. .lock Bitcoin data directory lock file bitcoin.conf [optional] Contains configuration options. blkxxxx.dat [Versions prior to v0.8.0] Contains concatenated raw blocks. Stored are actual Bitcoin blocks, in network format, dumped to disk raw. blkindex.dat [Versions prior to v0.8.0] Indexing information used with blkxxxx.dat __db.xxx … Continue reading Bitcoin Notes 2

Bitcoin Notes

The UTXO of a coinbase transaction has the special condition that it cannot be spent (used as an input) for at least 100 blocks. This temporarily prevents a minerfrom spending the transaction fees and block reward from a block that may later be determined to be stale (and therefore the coinbase transaction destroyed) after a block chain fork. All transactions, including the coinbase transaction, are encoded into blocks in binary rawtransaction format. In the first … Continue reading Bitcoin Notes