Commit Graph

271 Commits (cf88e4dd24edab449765e78b34ec530f08373b68)

Author SHA1 Message Date
Javier Smooth f2e8348be0 triangular distribution to choose recent outputs more often for mixins
9 years ago
rfree2monero c511abf005 remerged; commands JSON. logging upgrade. doxygen
9 years ago
rfree2monero 3cbdf198f1 Merge remote-tracking branch 'monero-official/master' into network-1.6-work1
9 years ago
Thomas Winget 94cb295db4
Merge upstream into blockchain
9 years ago
Riccardo Spagni 65d6d36449
Merge pull request #244
9 years ago
Riccardo Spagni c1187fabcf
Merge pull request #242
9 years ago
Thomas Winget 7b14d4a17f
Steps toward multiple dbs available -- working
9 years ago
Thomas Winget 5c0bc0050c
Merge upstream updates into blockchain branch
9 years ago
Thomas Winget e6740ee103
Enforce DNSSEC for checkpoint updates
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
Sergey Kazenyuk b43716c756 Do store transaction's blob size in transaction_chain_entry
9 years ago
Sergey Kazenyuk 3be518ff40 Use single get_transaction_hash to get both id and blob size
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
rfree2monero ae2a50659f 2014 network limit 1.2 +utils +toc -doc -drmonero
9 years ago
rfree2monero 5ce4256e3d 2014 network limit 1.1 +utils +toc -doc -drmonero
9 years ago
rfree2monero eabb519605 2014 network limit 1.0a +utils +toc -doc -drmonero
9 years ago
Thomas Winget fc62af5cf8
Merge remote-tracking branch 'monero-project/master' into blockchain
10 years ago
warptangent 84fe5fbd65
Add compile-time support for both db implementations: in-memory and LMDB
10 years ago
warptangent 8bd1983cdc
Blockchain: reflect log updates from blockchain_storage
10 years ago
warptangent 7f9b070165
Blockchain: reflect log and assert updates from blockchain_storage
10 years ago
warptangent 70342ecada
Blockchain: reflect log level of blockchain_storage
10 years ago
warptangent c8d27fb38d
Blockchain: reflect assert behavior of blockchain_storage for get_tx_outputs_gindexs()
10 years ago
warptangent d00ee784db
Update recently added log statement to fix possible null dereference
10 years ago
Riccardo Spagni 497a514bd3 replaced 64-bit multiplication in difficulty.cpp with a portable version
10 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
Thomas Winget 14555eefd5
Fixes segfault in Blockchain::handle_alternative_block
10 years ago
Thomas Winget 7374b81b23 Merge pull request #19 from warptangent/fix_tx_output
10 years ago
warptangent c5c100c69b Obtain tx hash and tx output index from amount and output offset
10 years ago
moneromooo-monero ad8200a573 db_lmdb: fix global index calculation off by 1
10 years ago
Thomas Winget c50cd95674 Fixes a bug with getting output metadata from BlockchainDB
10 years ago
moneromooo-monero 57b80c541e db_lmdb: remove redundant checks
10 years ago
Thomas Winget c3fa07b44b update comments to reflect changed code
10 years ago
moneromooo-monero 59d2b0ed1c db_lmdb: do not give the group database write permissions
10 years ago
moneromooo-monero 4c2a45288a db_lmdb: catch attempt to remove block from an empty blockchain
10 years ago
moneromooo-monero 3a3459d59b db_lmdb: factor all the log+throw code paths
10 years ago
moneromooo-monero 3fcb8daf6e db_lmdb: factor the MDB_val setup code
10 years ago
moneromooo-monero 1860658eec blockchain: do not append "testnet" to the data directory
10 years ago
moneromooo-monero 1c578ad3f8 db_lmdb: remove block timestamp too when removing a block
10 years ago
moneromooo-monero c93a186637 db_lmdb: do not cast const away
10 years ago
moneromooo-monero 198368b2e1 blockchain: fix wallet syncing from scratch
10 years ago
moneromooo-monero 1d23db220a db_lmdb: do not keep a dangling pointer to stack objects
10 years ago
moneromooo-monero 29b5876ad1 db_lmdb: make cursor internal members private
10 years ago
moneromooo-monero a3157d7b69 blockchain_storage: refactor genesis block creation
10 years ago
moneromooo-monero 8e41b1e735 blockchain_storage: add consts where appropriate
10 years ago
moneromooo-monero 256162fcd5 checkpoints: add consts where appropriate
10 years ago
moneromooo-monero b7270ab60e blockchain: add consts where appropriate
10 years ago
moneromooo-monero 23f3cb4c0e blockchain_db: add consts where appropriate
10 years ago
moneromooo-monero 10fd6cab6c blockchain_db: factor some exception code
10 years ago
moneromooo-monero 0886183568 build: add liblmdb to the cmake autodetection system
10 years ago
Thomas Winget 215e63b79f extraneous semicolon in Blockchain::complete_timestamps_vector
10 years ago
Thomas Winget 8e1b7e2ad4 raised maximum mapsize for lmdb to ~16GB
10 years ago
Thomas Winget 6c8b8acfe4 more blockchain height-related fixes, syncing other nodes code this time
10 years ago
Thomas Winget 4af0918501
very, VERY primitive blockchain converter
10 years ago
Thomas Winget 26a7db38eb add new checkpointing behavior to Blockchain class
10 years ago
Thomas Winget 006e106ae9 Store output pubkeys separately, bug fixes
10 years ago
Thomas Winget ab7951d99a Minor bugfixes, redundancy removal
10 years ago
Thomas Winget 71b18d7166 moar bug fixes, removed debug prints
10 years ago
Thomas Winget 0915913111 BlockchainLMDB seems to be working*!
10 years ago
Thomas Winget 1a546e3222 some bug fixes, but still needs work
10 years ago
Thomas Winget 006afe2172 Minor bug fixes and debug prints
10 years ago
Thomas Winget 90f402e258 minor fixes to Blockchain.cpp
10 years ago
Thomas Winget 74a1a89e27
Integrate BlockchainDB into cryptonote_core
10 years ago