Commit Graph

208 Commits (874f48bc82a5d73695171287a8397d037b471547)

Author SHA1 Message Date
Thomas Winget 5c0bc0050c
Merge upstream updates into blockchain branch
9 years ago
Thomas Winget 8855a32044
Merge upstream to daemonize changes
9 years ago
warptangent 4bedd68d2c
Update Blockchain::get_db() to return reference instead of pointer
9 years ago
warptangent 275cbd4348
Add support for database open with flags
9 years ago
warptangent ca75b4789c
Blockchain: add get_db() accessor, needed for blockchain_import
9 years ago
Thomas Winget eee3ee7073
BlockchainDB implementations have names now
9 years ago
Thomas Winget 5eab480cb1
Moved BlockchainDB into its own src/ subfolder
9 years ago
smooth 7e72e943db update checkpoint
9 years ago
smooth 41a95e7b11 add comment about avoiding overflow
9 years ago
smooth 754a785ee1 minimum subsidy for mining incentives, remove unused LEGACY_FEE define
9 years ago
Thomas Winget 9dab105e2e
DNS checkpoint loading for testnet should now be correct
9 years ago
Thomas Winget 96cbecffd7
RPC calls for background daemon added in
9 years ago
Thomas Winget 9193d6fb5b
Daemonize changes pulled in -- daemon builds
9 years ago
Thomas Winget 0ad0784f46
Changed log level of debug message -- too spammy
9 years ago
warptangent 6485dacc2f
BlockchainLMDB: Add profiling to tx_exists()
9 years ago
warptangent 83fb6d8d07
BlockchainLMDB: Add batch transaction support to tx_exists()
9 years ago
warptangent 8529c0ea9a
BlockchainDB, BlockchainLMDB: Add profiling for DB commits
9 years ago
warptangent 7a66b8bbcf
BlockchainDB: Add virtual function declarations for batch transactions
9 years ago
warptangent b7a2d84919
BlockchainLMDB: Add check for open database to two functions
9 years ago
warptangent 58ecc58be1
BlockchainLMDB: Add support for batch transactions
9 years ago
warptangent 8909d7d82e
Improve block and tx processing efficiency by less repeat hashing
9 years ago
warptangent 3676ac5841
Add profiling to block and tx processing
9 years ago
warptangent ce71abd0fe
Move LMDB storage to subfolder
9 years ago
warptangent 42f8fe5c7f
Fix formatting
9 years ago
warptangent aa82f786c7
Fix log statement
9 years ago
warptangent 26873db199
Remove unused variable
9 years ago
warptangent 4b90fd389d
Add log statement
9 years ago
warptangent 2531aa31f8
Add and extend log statements
9 years ago
warptangent 59305d3137
Blockchain: match original function declaration from blockchain_storage
9 years ago
warptangent b88ab643ca
Fix Blockchain::get_tail_id() to set parameter to last block number instead of height
9 years ago
warptangent 963bc09087
Revert "Bounds error, should fix #27"
9 years ago
Thomas Winget 6f1c4b4c2c
Bounds error, should fix #27
9 years ago
Thomas Winget fc62af5cf8
Merge remote-tracking branch 'monero-project/master' into blockchain
9 years ago
warptangent 84fe5fbd65
Add compile-time support for both db implementations: in-memory and LMDB
9 years ago
warptangent 8bd1983cdc
Blockchain: reflect log updates from blockchain_storage
9 years ago
warptangent 7f9b070165
Blockchain: reflect log and assert updates from blockchain_storage
9 years ago
warptangent 70342ecada
Blockchain: reflect log level of blockchain_storage
9 years ago
warptangent c8d27fb38d
Blockchain: reflect assert behavior of blockchain_storage for get_tx_outputs_gindexs()
9 years ago
warptangent d00ee784db
Update recently added log statement to fix possible null dereference
9 years ago
Riccardo Spagni 497a514bd3 replaced 64-bit multiplication in difficulty.cpp with a portable version
9 years ago
Thomas Winget acd4c369e4
Should fix std::min issues related to size_t
10 years ago
warptangent 800d9b9247
Remove code previously made unused and marked unused
10 years ago
warptangent 0840c2fd7e
Fix height assertion in Blockchain::handle_alternative_block()
10 years ago
warptangent 63051bea1c
Fix comparison between main and alternate chain's cumulative
10 years ago
warptangent 909ea81067
Remove a have_block() check so alternate block can be processed
10 years ago
warptangent 4d0a94b20c
Complete implementation of transaction removal
10 years ago
warptangent 1701c26750
Use block index when obtaining block's difficulty for log statement
10 years ago
warptangent 4eba21fd48
Fix transfers to support mixins
10 years ago
warptangent d045dfa7ce
Fix transfers (without mixins)
10 years ago
Thomas Winget 429a740562
throw inline functions need to keep exception type
10 years ago