Commit Graph

332 Commits (d0e434f0d896678daf15dee53849f84979b16258)

Author SHA1 Message Date
warptangent 71af04669c
Update log statements
9 years ago
Riccardo Spagni 8005a0c7a1
Merge pull request #269
9 years ago
Thomas Winget 385d7c0495
Sort txs by per-kb-fee for miners
9 years ago
Thomas Winget 1b2614ba83
When removing 'stuck' transactions, don't ignore the first tx in the pool
9 years ago
warptangent 641d824f37
Keep memory pool consistent when stuck tx removed
9 years ago
warptangent b76857f9d9
Add mempool output to daemon via command and RPC
9 years ago
Thomas Winget 2717883dba
DNS Checkpoint updating-related fixes/changes
9 years ago
Thomas Winget ae08be5394
Disable DNS checkpoint updating on testnet
9 years ago
Thomas Winget a8bc7182ea
Merge BlockchainDB into upstream
9 years ago
Thomas Winget 9519526224
Only compile BerkeleyDB as an option in non-static
9 years ago
Javier Smooth 83ddc942c1 handle unlikely rounding up after sqrt
9 years ago
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
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
warptangent 21a3c46a1b ensure that keccak is called on view spend key, not a possibly pre-sc_reduce32 version of it
10 years ago
Riccardo Spagni 40971b4ee6
Merge pull request #188
10 years ago
Riccardo Spagni ab7c6c07e7
Merge pull request #180
10 years ago
iamsmooth dde7897fd4 Disable legacy fees for now
10 years ago
iamsmooth cc74b43651 Remove DEFAULT_FEE, add temporary acceptance of too-small per-kb fee >= 0.1, denominations based on DEFAULT_DUST_THRESHOLD, document fee arg to create_transactions as unused, se DEFAULT_DUST_THRESHOLD for wallet dust collection instead of calcualted tx fee
10 years ago
Thomas Winget 557e27fd21 per kb fees
10 years ago
Ben Boeckel 7d708e4223 cmake: support 2.8.7
10 years ago
Ben Boeckel f53f04724c cmake: handle private vs. public headers
10 years ago
Ben Boeckel 55ca7d3b34 cmake: refactor common code with libraries
10 years ago
Ben Boeckel 89cff7bddc cmake: put each library into its own directory
10 years ago
Riccardo Spagni b41907574a
added hardcoded checkpoint at block 249380
10 years ago
Riccardo Spagni 664ae0085d
Merge pull request #167
10 years ago
Riccardo Spagni 1160505454
fixed checkpointing bug
10 years ago
Riccardo Spagni 1663089b33
MoneroPulse log wording tweaks
10 years ago
Thomas Winget aeaa44fe86
fixed signed-unsigned issue from 166
10 years ago
Riccardo Spagni 6f7ed13b72 moved checkpoint log level
10 years ago
Riccardo Spagni 3e644c25c4
moved file checkpointing log output to log1
10 years ago
Thomas Winget c0bdd511c3 Daemon should now exit on conflicting checkpoints
10 years ago
Thomas Winget f0b4138f1f various changes to runtime checkpoint updating
10 years ago
Thomas Winget 7568f89c55 Fixed segfault with checkpoints loading
10 years ago
Thomas Winget b261d9207b DNS checkpoint updating added, and daemon flag to enforce them
10 years ago
Thomas Winget 30caebfce3 reload checkpoints file every ~hr and print if any fail
10 years ago
Thomas Winget 6f2c2e1c27 Adding an identical existing checkpoint should not error
10 years ago
Riccardo Spagni 59a8366bb1 Revert "low risk, potentially varint overflow bug patched thanks to BBR"
10 years ago
Riccardo Spagni 4e2b2b942d low risk, potentially varint overflow bug patched thanks to BBR
10 years ago
Tomer Konforty 06a4578bf2 Added ability to read chechpoint hashes from json file in data folder
10 years ago
iamsmooth 9956b68b18 checkpoint
10 years ago
iamsmooth d19cf1f458 checkpoint
10 years ago