Commit Graph

639 Commits (e01d32e52d862d590ec23a17d3460066639a3803)

Author SHA1 Message Date
warptangent 4bedd68d2c
Update Blockchain::get_db() to return reference instead of pointer
9 years ago
warptangent 0386e9925b
Add README for blockchain converter, importer, and exporter utilities
9 years ago
Thomas Winget f78bb00943
Hopefully fixes build on Windows for real this time
9 years ago
Thomas Winget 2b0583b2c6
Hopefully fixes build on Windows
9 years ago
Thomas Winget ead7fad552
BerkeleyDB implementation of BlockchainDB seems to be working!
9 years ago
Thomas Winget 8e3347f310
Pull blockchain changes into berkeleydb branch
9 years ago
Thomas Winget e146027acd
BlockchainBDB passes unit tests
9 years ago
warptangent ffadb6571a
blockchain_export: Add compile-time support for BlockchainDB
9 years ago
Thomas Winget 43477b7dac
BerkeleyDB Blockchain building, not working yet
9 years ago
Thomas Winget cade0da8f1
CMake wiring, minor cleanup, minor test addition
9 years ago
Thomas Winget 1bc89398b4
BerkeleyDB BlockchainDB impl copy/paste/modify
9 years ago
Thomas Winget 5112dc37d7
Try to not pollute cryptonote namespace
9 years ago
Thomas Winget edef0bb771
Initial commit of BDB BlockchainDB implementation
9 years ago
warptangent f6cbfb623b
Add blockchain_export utility
9 years ago
warptangent 275cbd4348
Add support for database open with flags
9 years ago
warptangent cb862cb81a
Add mdb_flags variable to LMDB database open
9 years ago
warptangent 260cc56fae
Add blockchain_import utility
9 years ago
warptangent ca75b4789c
Blockchain: add get_db() accessor, needed for blockchain_import
9 years ago
warptangent a3dd9d10f3
blockchain_converter: Add support for batch transactions
9 years ago
warptangent acb5d291b8
Update and relocate comment that applies class wide
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
smooth 02969d69f0 default mix factor in simplewallet
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
Riccardo Spagni c01069f352
fixed English word list issue: 'launchpad' should be 'ourselves'
9 years ago
Riccardo Spagni 10e4132e22
fixed English word list issue: 'incline' should have remained 'inline'
9 years ago
Thomas Winget 9dab105e2e
DNS checkpoint loading for testnet should now be correct
9 years ago
Thomas Winget 52f9629bd7
sending commands to forked daemon works on testnet now
9 years ago
Thomas Winget 76289d0e3b
Fix tests building -- function signatures changed
9 years ago
rfree2monero f79821ac7e fix locking in count-peers thread (2)
9 years ago
rfree2monero 0198ffb220 2014 network limit 1.3 fix log/path/data +utils
9 years ago
Thomas Winget db53e1956a
revert stop_daemon method to use correct exit
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 cd972bdcc2
Update year and formatting in license
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
10 years ago
rfree2monero ae2a50659f 2014 network limit 1.2 +utils +toc -doc -drmonero
10 years ago
rfree2monero 39fc63f48d removed not needed <netinet/in.h>
10 years ago
rfree2monero 5ce4256e3d 2014 network limit 1.1 +utils +toc -doc -drmonero
10 years ago
rfree2monero eabb519605 2014 network limit 1.0a +utils +toc -doc -drmonero
10 years ago
Riccardo Spagni 7b01a076b9
added tx size to incoming_transfers RPC Call
10 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
warptangent 79ea1f6ff0
Merge upstream
10 years ago
Riccardo Spagni 3ece1584f0
make fallback compatible with newer slow-hash
10 years ago
Riccardo Spagni 497a514bd3 replaced 64-bit multiplication in difficulty.cpp with a portable version
10 years ago
Riccardo Spagni 9b3673a54c
added portable slow-hash, updated makefile targets, fixed readme
10 years ago
Riccardo Spagni e70bc3d369
fixed sse2 ifdef
10 years ago
Riccardo Spagni 2b3b70a261
remove aes flag, detect no sse2
10 years ago
Thomas Winget 9d52378029
Merge to keep up with upstream
10 years ago
Thomas Winget acd4c369e4
Should fix std::min issues related to size_t
10 years ago
Riccardo Spagni 9e0516c1dd
Merge pull request #215
10 years ago
Riccardo Spagni 580e003357
Merge pull request #214
10 years ago
warptangent f74792b778
Fix seed node threaded DNS lookup
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
moneromooo-monero 24d500ce8e
Add a --restricted-rpc flag to simplewallet
10 years ago
moneromooo-monero 87839cd484
Allow get_bulk_payments to return all payments regardless of payment ID
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
Riccardo Spagni 24ddfa792e
Merge pull request #206
10 years ago
Riccardo Spagni 7de1a2d57a
previous hash added to GBT
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 1362846dd7 blockchain_converter: add --testnet for converting testnet blockchain
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 609cf7fc92 blockchain_converter: a bit more user friendly output
10 years ago
moneromooo-monero 2b9f737872 blockchain_converter: only call data path function once
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 98bdadcad7 blockchain_converter: delete blockchain on succesful exit
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 11129b9ee4 blockchain_converter: use the actual blockchain location
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 9455e0cd58 ~ didn't work, need hard path. debug print.
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
Thomas Winget d8c570b588 All LMDB BlockchainDB implemented, not tested
10 years ago
Thomas Winget e47e343a1c LMDB blockchain: remove outputs and spent keys
10 years ago
Thomas Winget a0af217d9a Adding block data to LMDB BlockchainDB coded
10 years ago
Thomas Winget db00ce0173 Parts of LMDB impl of BlockchainDB done and working
10 years ago
Thomas Winget b98b96489f Initial commit of lmdb BlockchainDB impl
10 years ago
Thomas Winget bc44bc19f4 Initial commit of BlockchainDB tests, other misc
10 years ago
Thomas Winget 07733f98c0 update new blockchain to build with new changes
10 years ago
Thomas Winget 1ffbeb2d2e stupid past me, fixing typos and shit...
10 years ago
Thomas Winget 67515b8b19 missing typedef
10 years ago
Thomas Winget aba548cbf7 import of BlockchainDB files
10 years ago
Riccardo Spagni f4b69d553a
year updated in license
10 years ago
Thomas Winget 1b462261b8
std::atomic_flag has no copy/move constructor, can't have a vector
10 years ago
Thomas Winget df53c0a595
small typo in previous commit
10 years ago