Commit Graph

682 Commits (62ae03bfd3ca87828f557ae63e9ca2ca40812d30)

Author SHA1 Message Date
moneromooo-monero 50af3579ee
alt_chain_info can now give more info about a particular alt chain
6 years ago
luigi1111 14372ca95a
Merge pull request #3975
6 years ago
luigi1111 9eb51887b0
Merge pull request #3919
6 years ago
luigi1111 5a221c0e48
Merge pull request #3904
6 years ago
luigi1111 fb2b16f10a
Merge pull request #3732
6 years ago
luigi1111 b3363e8e0a
Merge pull request #3726
6 years ago
luigi1111 6be2516140
Merge pull request #3687
6 years ago
Jean Pierre Dudey b628503bad Remove old logic saved in comments.
6 years ago
stoffu 08b85a8e00
cryptonote_config: add get_config to refactor x = testnet ? config::testnet::X : stagenet ? config::stagenet::X : config::X
6 years ago
moneromooo-monero 2d5921eefa
blockchain: avoid duplicate db query for height
6 years ago
luigi1111 2619d966c6
Merge pull request #3908
6 years ago
luigi1111 8a1f0d7d13
Merge pull request #3940
6 years ago
moneromooo-monero f24cbc5245
blockchain: fix deadlock with the difficulty cache
6 years ago
stoffu ace2edacb6
blockchain: pop forked blocks only when DB is not read-only
6 years ago
moneromooo-monero f0322a083a
blockchain: demote a hash-of-hashes validation warning to debug
6 years ago
Riccardo Spagni 95ccf508cd update checkpoints.dat for point release
6 years ago
moneromooo-monero 4f3a4fb701
blockchain: return error when requesting non existent output
6 years ago
luigi1111 9bc8f76924
Merge pull request #3525
6 years ago
luigi1111 4267a0bb51
Merge pull request #3731
6 years ago
luigi1111 c534fe8d19
Merge pull request #3251
6 years ago
luigi1111 764340d112
Merge pull request #3420
6 years ago
moneromooo-monero b9389e582e
db_lmdb: save pruned and prunable tx data separately
6 years ago
Riccardo Spagni 45975fd8eb update checkpoints
6 years ago
Riccardo Spagni f794d3b3df
Merge pull request #3787
6 years ago
moneromooo-monero 5f8ffca34d
speed up get_output_distribution (and precalc common case)
6 years ago
Thaer Khawaja a66f152f75 Use median timestamp if current time renders a block invalid.
6 years ago
moneromooo-monero b5cb1bc403
blockchain: avoid exception if asked for a block we do not have
6 years ago
moneromooo-monero ce63ab09db
blockchain: invalidate misc caches when popping blocks
6 years ago
stoffu 872cb4efd8
blockchain: pop top if block version disagrees with the ideal fork version
6 years ago
Thaer Khawaja fa0839f2f5 Ensure m_timestamps has the correct number for computing difficulty.
6 years ago
moneromooo-monero 6b13976330
blockchain: log in DEBUG when a block is found, and where
6 years ago
moneromooo-monero ffeeefde60
speedup get_output_histogram for all amounts when min_count > 0
6 years ago
stoffu 66a659bb03
blockchain: add scope guard to waiter for threaded txv1 verification
6 years ago
Riccardo Spagni dac3895ac1
update block hashes for checkpoints.dat
6 years ago
moneromooo-monero a6a54fa883
blockchain: cache difficulty for next block
6 years ago
moneromooo-monero bb20f104ba
Move v7 fork to 1546000 to give more update time
6 years ago
Riccardo Spagni 83651630bc
Merge pull request #3418
6 years ago
moneromooo-monero 20a002667c
blockchain: forbid bulletproof types before v8
6 years ago
Riccardo Spagni 432480fa42
Merge pull request #3414
6 years ago
Riccardo Spagni 0f27fc57ac
Merge pull request #3336
6 years ago
moneromooo-monero 41f727ce42
add RPC to get a histogram of outputs of a given amount
6 years ago
stoffu 524cbdc1e2
blockchain: fix log message about per-kB fee
6 years ago
Dimitris Apostolou 57c0b1ed9f Fix typos in various files
6 years ago
Jean Pierre Dudey e1b526b371 Remove the `Blockchain::get_all_known_block_ids` function.
6 years ago
Riccardo Spagni 9a63fbcf83
Merge pull request #3371
6 years ago
stoffu 978663d461
Stagenet: successive forks up to v7
6 years ago
moneromooo-monero 84decbea48
core: add v7 for 1539500 on mainnet
6 years ago
moneromooo-monero 38657fd0e9
Bump min ring size from 5 to 7 from v7
6 years ago
Riccardo Spagni abcdb7b5c4
Merge pull request #3308
6 years ago
Riccardo Spagni 4f93f74528
Merge pull request #3277
6 years ago
Edward Betts fbcc91c2a4 Correct spelling mistakes.
6 years ago
stoffu af773211cb
Stagenet
6 years ago
moneromooo-monero 6f8779d282
blockchain: fix random sync failures
6 years ago
Riccardo Spagni f4a6bc79d9
Merge pull request #3226
6 years ago
Riccardo Spagni 24d8f9237f
Merge pull request #3248
6 years ago
moneromooo-monero d6a0ae96c6
blockchain: don't try to use hash check array after it's freed
6 years ago
moneromooo-monero 61defd89e3
blockchain: sanity check number of precomputed hash of hash blocks
6 years ago
moneromooo-monero c70f03cacf
blockchain: move bulletproofs to v8
6 years ago
Riccardo Spagni f7dcb730cb
Merge pull request #3144
6 years ago
xmr-eric 18216f19dd Update 2018 copyright
6 years ago
Riccardo Spagni 9872620781
Merge pull request #3014
6 years ago
moneromooo-monero 42f86624a3
rpc: expose recent median block size in getinfo
6 years ago
moneromooo-monero deeffaeb5c
blockchain: remove minor floating point usage
6 years ago
Riccardo Spagni 0a110aefbb
Merge pull request #2971
6 years ago
moneromooo-monero ae8602303a
Fix exceptions not finding txpool txes when relaying
7 years ago
moneromooo-monero 24f584d90d
cryptonote_core: remove unused functions with off by one bugs
7 years ago
moneromooo-monero b1634aa3e8
blockchain: don't leave dangling pointers in this
7 years ago
moneromooo-monero 8e60b81c48
cryptonote_core: fix db leak on error
7 years ago
moneromooo-monero b49ddc766d
check accessing an element past the end of a container
7 years ago
moneromooo-monero d753d716a6
fix a few leaks by throwing objects, not newed pointers to objects
7 years ago
Riccardo Spagni 8da24c2a57
Merge pull request #2878
7 years ago
moneromooo-monero c83d0b3ee2
add bulletproofs from v7 on testnet
7 years ago
moneromooo-monero 7696e84952
core: make --offline also disable DNS lookups
7 years ago
moneromooo-monero 383ff4f689
remove "using namespace std" from headers
7 years ago
Riccardo Spagni fd0740e5e7
Merge pull request #2615
7 years ago
binaryFate 10013e9434 Protect node privacy by proper filtering in restricted-mode RPC answers
7 years ago
moneromooo-monero ccf53a566c
track double spending in the txpool
7 years ago
moneromooo-monero 935f746249
blockchain: do not lock the blockchain lock for simple DB getters
7 years ago
Riccardo Spagni 97c11caf07 Merge pull request #2656
7 years ago
Jaquee 329f149e95 remove reference to cryptonote::null_hash
7 years ago
Riccardo Spagni b293ad9a1a
Merge pull request #2640
7 years ago
Riccardo Spagni d8bc28cc36
Merge pull request #2552
7 years ago
Riccardo Spagni 5ea20d6944
Merge pull request #2469
7 years ago
moneromooo-monero 5db433b3f7
blockchain: avoid exceptions in output verification
7 years ago
Riccardo Spagni 4a20a5b5ea
Merge pull request #2537
7 years ago
moneromooo-monero 69ce33f217
core: fix failure to sync when a tx is already in the pool
7 years ago
moneromooo-monero 4e115a3a4c
core: remove out sorting from v7 rules
7 years ago
moneromooo-monero 269a2a01ef
blockchain: fix off by one getting blocks
7 years ago
moneromooo-monero 5d65a75b69
move checkpoints in a separate library
7 years ago
Riccardo Spagni e5a2cdbfad
Merge pull request #2457
7 years ago
Riccardo Spagni 08ada1fa8b
Merge pull request #2440
7 years ago
moneromooo-monero e457aa51f4
blockchain: fix crash checking pre-validated txids
7 years ago
moneromooo-monero 7adceee634
precomputed block hashes are now in blocks of N (currently 256)
7 years ago
Riccardo Spagni 1a73843cec
Merge pull request #2446
7 years ago
Riccardo Spagni 591e53445b
Merge pull request #2044
7 years ago
moneromooo-monero 6137a0b94d
blockchain: reject unsorted ins and outs from v7
7 years ago
Howard Chu d2d8a41c47
Use actual batch size for resize estimates
7 years ago
Howard Chu 510d0d4753
Use a threadpool
7 years ago
Riccardo Spagni e5238adfb3
update checkpoint hashes
7 years ago
Thomas Winget 77986023c3
json serialization for rpc-relevant monero types
7 years ago
Thomas Winget 5c1e08fe80
Refactor some things into more composable (smaller) functions
7 years ago
Thomas Winget 9ac2ad0744
DRY refactoring
7 years ago
moneromooo-monero ce901fcb31
Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocks
7 years ago
Riccardo Spagni e00238a355
Merge pull request #2347
7 years ago
Riccardo Spagni 36b978f50e
Merge pull request #2314
7 years ago
moneromooo-monero 5807529e69
blockchain: cap memory size of retrieved blocks
7 years ago
Howard Chu 9a859844f4
Toggle SAFE syncmode on and off automatically
7 years ago
moneromooo-monero 5d989b661a
core: add mainnet v6 fork height at 1400000
7 years ago
moneromooo-monero 827afcb7ea
protocol: pass blockchain cumulative difficulty when syncing
7 years ago
Riccardo Spagni 79479a3614
Merge pull request #2250
7 years ago
Riccardo Spagni 12c70fedc0
Merge pull request #2246
7 years ago
Riccardo Spagni 1cf4665d2a
Merge pull request #2237
7 years ago
moneromooo-monero 61770ec2da
change mixin to ring size in user visible places
7 years ago
Riccardo Spagni 62610a3a53
Merge pull request #2225
7 years ago
Riccardo Spagni dc2747439c
Merge pull request #2243
7 years ago
Riccardo Spagni a2dd125b1e
Merge pull request #2222
7 years ago
Riccardo Spagni 8048de268a
Merge pull request #2216
7 years ago
moneromooo-monero 4d87304683
blockchain: add testnet v6 fork height at 971400
7 years ago
moneromooo-monero f4f7eeba80
blockchain: log more info when we reject an orphan
7 years ago
moneromooo-monero d732c73e71
blockchain: remove a few unused variables
7 years ago
moneromooo-monero 5d4ef719b9
core: speed up output index unique set calculation
7 years ago
moneromooo-monero 5d91b26c0f
blockchain: skip checking tx semantics in embedded block hash range
7 years ago
moneromooo-monero 878205f143
core: fix lock ordering bug at init time
7 years ago
moneromooo-monero d8becf2ee1
blockchain: fix cryptonight buffer leak on exit
7 years ago
moneromooo-monero 91aa90fc79
blockchain: ensure all blocks get their longhash precalculated
7 years ago
moneromooo-monero ff4bcaed81
blockchain: pass correct height to get_block_longhash
7 years ago
moneromooo-monero 53af9768ce
blockchain: one off warning when seeing a block with unknown version
7 years ago
moneromooo-monero 235df7f484
blockchain_db: add a txpool tx getter which returns existence
7 years ago
Howard Chu d17c0fc2d0
Don't copy blockchain for coinbase_tx_sum
7 years ago
Riccardo Spagni 545e2b003c
Merge pull request #1982
7 years ago
moneromooo-monero b52abd1370
Move txpool to the database
7 years ago
Riccardo Spagni 865bb03ecf
Merge pull request #1968
7 years ago
assylias bff90264b8
Add expected total reward to RPC "getblocktemplate".
7 years ago
hyc a3d779013d Fix block_longhash_worker thread
7 years ago
Derek Zhang 2bee92dbd0 Fixed typo in v5 hard fork finalized date
7 years ago
moneromooo-monero 5a7983585e
blockchain: offset v5 addition date on testnet
7 years ago
moneromooo-monero 7c03349869
blockchain: lower the relay fee by 2%
7 years ago
moneromooo-monero 3396a9f2af
Add intervening v5 fork for increased min block size
7 years ago
moneromooo-monero cfa2564a40
blockchain: don't try to load an empty block hash set
7 years ago
moneromooo-monero 3153349325
core: quantize per kB fee to 8 decimals
7 years ago
moneromooo-monero 583a7b5c74
core: protect precomputed block hashes with SHA256
7 years ago
Riccardo Spagni c3599fa7b9
update copyright year, fix occasional lack of newline at line end
7 years ago
Riccardo Spagni 49efd3add9
Merge pull request #1727
7 years ago
Riccardo Spagni 59d96eedd8
Merge pull request #1724
7 years ago
Howard Chu dc53e9eef2
Add a few read txns to streamline
7 years ago
moneromooo-monero 0288310e3b
blockchain_db: add "raw" blobdata getters for block and transaction
7 years ago
moneromooo-monero cca95c1c7a
blockchain_db: do not throw on expected partial results getting keys
7 years ago
kenshi84 8027ce0c75 extract some basic code from libcryptonote_core into libcryptonote_basic
7 years ago
Miguel Herranz 36dd3e238f Replace BOOST_REVERSE_FOREACH with ranged for
7 years ago
moneromooo-monero b70ab128fc
rpc: fix orphan_status when getting blocks
7 years ago
moneromooo-monero 5833d66f65
Change logging to easylogging++
7 years ago
Riccardo Spagni 99ffc49740
Merge pull request #1577
7 years ago
Riccardo Spagni 1207d8ad0d
Merge pull request #1576
7 years ago
Riccardo Spagni 10c6afd316
Merge pull request #1571
7 years ago
Riccardo Spagni 51baab2112
Merge pull request #1565
7 years ago
Riccardo Spagni 65e33b1bc5
Merge pull request #1506
7 years ago
Howard Chu eaf8470b29
Must wait for previous batch to finish before starting new one
7 years ago
Howard Chu 0693cff925
Use batch transactions when syncing
7 years ago
moneromooo-monero feb499aaae
core: check block version for alt chains too
7 years ago
moneromooo-monero ba3968f6ce
rct: split rct checks between semantics and other
7 years ago
moneromooo-monero 81c384e408
fix do_not_relay not preventing relaying on a timer
7 years ago
moneromooo-monero 50b230d12c
core: ensure block size limit is set from the start
7 years ago
Riccardo Spagni e75fd059dd
Merge pull request #1555
7 years ago
luigi1111 758c0eb79f
fix time stats mixin
7 years ago
kenshi84 f1dde1a429 wallet cli: print originating block heights of mixin keys when making transfer
8 years ago
Riccardo Spagni 15dcc5afd3
Merge pull request #1534
8 years ago
Riccardo Spagni fdb1cda965
Merge pull request #1502
8 years ago
Riccardo Spagni 23cf963332
Merge pull request #1493
8 years ago
moneromooo-monero 0478ac6848
blockchain: allow marking "tx not found" without an exception
8 years ago
moneromooo-monero 1607cb7e0c
tx_pool: better block template filling algorithm
8 years ago
moneromooo-monero 591d83686e
core: invalidate difficulty cache when resetting blockchain
8 years ago
luigi1111 374762654e
add tx hash to time stats
8 years ago
Riccardo Spagni f5176cb6e8
Merge pull request #1467
8 years ago
kenshi84 2ac8007544 also use portable serializer for boost_serialization_helper.h and net_node.inl, completely adandon boost/archive/binary_oarchive.hpp
8 years ago
moneromooo-monero 55fa0479a0
rpc: new function and RPC to get alternative chain info
8 years ago
moneromooo-monero dd144b14bc
blockchain: fix reorganizations past a hard fork boundary
8 years ago
Riccardo Spagni 0f99423080
Merge pull request #1418
8 years ago
moneromooo-monero dfbb85b6fe
blockchain: fix setting non trovial alternate chain as invalid
8 years ago
luigi1111 648ea6bef1
blockchain: bring the v4 fork height one block forward
8 years ago
Riccardo Spagni f2ea2afb77
Merge pull request #1398
8 years ago
Riccardo Spagni 8086379680
Merge pull request #1397
8 years ago
Riccardo Spagni 416f7fbd5f
Merge pull request #1392
8 years ago
Pierre Boyer f4772bae81 Fix a few minor typos
8 years ago
moneromooo-monero 3f7d6fb57d
Fix delayed exit when syncing
8 years ago
moneromooo-monero 204b1bff62
blockchain: use high bound block reward on error where appropriate
8 years ago
moneromooo-monero 8f6ec90c83
blockchain: reject invalid pubkeys from v4
8 years ago
moneromooo-monero 2c0173c722
Add a get_outs (fully text based) version of get_outs.bin
8 years ago
moneromooo-monero e6deb8abda
rpc: add a dynamic fee estimation RPC call
8 years ago
moneromooo-monero 82dbba10d4
core: dynamic fee algorithm from ArticMine
8 years ago
moneromooo-monero 88faec75fe
wallet: select part of the fake outs from recent outputs
8 years ago
moneromooo-monero 4038e86527
Add performance timers for ringct tx verification
8 years ago
Riccardo Spagni a8e03344e5
Merge pull request #1177
8 years ago
Riccardo Spagni 895d20f901
Merge pull request #1123
8 years ago
moneromooo-monero 3644aa94f3
blockchain: avoid using a reference to a temporary
8 years ago
NanoAkron 8ed0d72b12
Moved logging to target functions rather than caller
8 years ago
moneromooo-monero 0d036bec26
blockchain: do not reject chain histories matching only genesis
8 years ago
Riccardo Spagni c2faab5e1a
fix v5 height
8 years ago
Riccardo Spagni cebbcf0f64
fix v5 fork date description
8 years ago
Riccardo Spagni c41098aacf
updated fork heights for v4 and v5
8 years ago
rckngOpossum e29e8b1b99 compile errors fixed when PER_BLOCK_CHECKPOINT not defined
8 years ago
rckngOpossum e49c161987 compile errors fixed when DEBUG_CREATE_BLOCK_TEMPLATE defined
8 years ago
Riccardo Spagni e0d78858e4
Merge pull request #1022
8 years ago
moneromooo-monero 6cf8ca2a7f
core: faster find_blockchain_supplement
8 years ago
Howard Chu b8c03a5f10
Remove blocks_per_sync limits
8 years ago
moneromooo-monero 91ca0b4065
core: allow empty global indices for txes with empty vout
8 years ago
moneromooo-monero 887db9f936
blockchain: testnet heights for v3, v4, and v5
8 years ago
moneromooo-monero b951bc8780
wallet: transfer_selected_rct now also selects fake outs
8 years ago
moneromooo-monero 4f887dea6e
increase minimum mixin to 4 on hard fork 5
8 years ago
moneromooo-monero 0815c72df7
core: allow v1 txes after HF 5 when sweeping unmixable outputs
8 years ago
moneromooo-monero c3b3260ae5
New "Halfway RingCT" outputs for coinbase transactions
8 years ago
moneromooo-monero 93f5c625f0
rct: rework v2 txes into prunable and non prunable data
8 years ago
moneromooo-monero d93746b6d3
rct: rework the verification preparation process
8 years ago
moneromooo-monero 3ab2ab3e76
rct: change the simple flag to a type
8 years ago
Shen Noether c5be4b0bea
rct: avoid the need for the last II element
8 years ago
moneromooo-monero 0263dd2d23
core: add some locking around pool use
8 years ago
moneromooo-monero 37bdf6ebe3
change fork settings to allow pre-rct txes for one more fork cycle
8 years ago
moneromooo-monero cf33e1a52a
rct: do not serialize public keys in outPk
8 years ago
moneromooo-monero a4d4d6194b
integrate simple rct api
8 years ago
moneromooo-monero c2ec6d35b9
mixable transactions must be rct for v3
8 years ago
moneromooo-monero 59a66e209a
move the rct commitments to the output_amounts database
8 years ago
moneromooo-monero 20e50ec7f7
ringct: do not serialize what can be reconstructed
8 years ago
moneromooo-monero ada527558f
Use the supplied hard fork version in validate_miner_transaction
8 years ago
moneromooo-monero dc4aad7eb5
add rct to the protocol
8 years ago
moneromooo-monero 4258dab4d6
core: new /getrandom_rctouts.bin binary RPC call
8 years ago
moneromooo-monero 11dc091464
Fake outs set is now decided by the wallet
8 years ago
moneromooo-monero 1593553e03
new unlocked parameter to output_histogram
8 years ago
Riccardo Spagni 30dce45643 Merge branch 'performance' of https://github.com/LMDB/bitmonero
8 years ago
moneromooo-monero 513a658c87
add a --max-concurrency flag
8 years ago
moneromooo-monero 70c86561af
blockchain: add missing overflow check for already generated coins
8 years ago
moneromooo-monero d6fd6be5de
blockchain: update cumulative block limit when popping a block
8 years ago
Riccardo Spagni 8f78f1407e
Merge pull request #784
8 years ago
moneromooo-monero 4cfb4dff3e
blockchain: remove the tx validation result cache
8 years ago
Howard Chu d7ea7d9a23 Merge branch 'performance' into master
8 years ago
warptangent 8d12a8df2c Schema update: tx_indices - improve further with less indirection
8 years ago
moneromooo-monero 087373eccf
Fix potential race with parallel processing of txes/signatures/blocks
8 years ago
Riccardo Spagni a38ad63f8f
Merge pull request #767
8 years ago
Riccardo Spagni 2b57845766
Merge pull request #765
8 years ago
moneromooo-monero 24b3e9007a
Convey tx verification failure reasons to the RPC client
8 years ago
moneromooo-monero 600a3cf0c0
New RPC and daemon command to get output histogram
8 years ago
moneromooo-monero b8527668ff
blockchain: for v3, require miner tx to have well behaved outs
8 years ago
Riccardo Spagni 0d30b65785 Merge pull request #749
8 years ago
Riccardo Spagni 01e0a69c17 Revert "Merge pull request #749"
8 years ago
Riccardo Spagni 7fa63a82a1
Merge pull request #749
8 years ago
Thomas Winget 540a76c5c2
Move checkpoint functions into checkpoints class
8 years ago
Thomas Winget 89c24ac2be
Remove unnecessary or defunct code
8 years ago
Thomas Winget 3a484497bc
Updated documentation for blockchain.*
8 years ago
moneromooo-monero cc4b19c32e
blockchain: fix partial block reward detection
8 years ago
Riccardo Spagni a1c38299b3
also maybe do the block height this time, you know, just so that it actually works.
8 years ago
Riccardo Spagni 23d1538fe7
also update the timestamp for the hard fork
8 years ago
Riccardo Spagni eda51a0dc3
set fork date for September, add hyc's GPG key, remove aabramov's
8 years ago
Howard Chu 9b3e43c327 Fix issue #706
8 years ago
Howard Chu b937a2c915 Use boost::thread instead of std::thread
8 years ago
warptangent a49c355cae
Blockchain: Omit verbose time stats messages by default
8 years ago
Howard Chu 5a07cefe7b Wrap some more actions in a larger read txn
8 years ago
Howard Chu 8cc7a36f0b read txn/cursor stuff
8 years ago
moneromooo-monero c7f82ec769
blockchain: initialize m_hardfork to NULL
8 years ago
moneromooo-monero a333c42cde
core_tests: add tests for hard fork behaviors (MRL-0004)
8 years ago
moneromooo-monero 6c8e5c3459
blockchain: reset hardfork object when resetting blockchain
8 years ago
warptangent e298b14a55
Blockchain: Update comments on removing block
8 years ago
warptangent e02577f594
Move HardFork DB update to BlockchainDB::add_block()
8 years ago
warptangent 3800875406
Make HardFork object available to BlockchainDB and derived DB implementations
8 years ago
warptangent 8f863e742d
Blockchain: Optionally pass in HardFork object
8 years ago
moneromooo-monero 7658ac0f45
blockchain: revert handle_get_objects adding block id on tx not found
8 years ago
Thomas Winget 1642be242d minor bugfixes and refactoring
8 years ago
Riccardo Spagni 569316aea3
Merge pull request #634
8 years ago
Riccardo Spagni 39d73d2a27
Merge pull request #631
8 years ago
moneromooo-monero 5e1a7391e8
blockchain: log number of outputs available for a new tx
8 years ago
moneromooo-monero 444e22f01a
blockchain: remove unused timer
8 years ago
moneromooo-monero 7edfdd8f24
blockchain: fix m_sync_counter uninitialized variable use
8 years ago
moneromooo-monero bf6d1474c0
new flush_txpool command, and associated RPC call
8 years ago
moneromooo-monero 3b1d7e03fc
Fix V1/V2 use of hard fork related parameters
8 years ago
Riccardo Spagni de03926850
updated copyright year
9 years ago
moneromooo-monero 576effe11a
blockchain: kill ioservice on scope end, rather than manually
9 years ago
Riccardo Spagni fd36eea6dd
Merge pull request #572
9 years ago
moneromooo-monero 4a5a5ff157
blockchain: always stop the ioservice before returning
9 years ago
moneromooo-monero b0541a56eb
blockchain: remove obsolete containers
9 years ago
moneromooo-monero 18a5211173
blockchain: Fix height in call to on_blockchain_dec
9 years ago
moneromooo-monero f33a88cfc1
blockchain: fix a few block addition bugs
9 years ago
moneromooo-monero a9ff11c816
blockchain: fix an off by one error in unlocked time check
9 years ago
moneromooo-monero f294be35bc
blockchain: reinstate double spending checks in check_tx_inputs
9 years ago
moneromooo-monero 737b6d6cf5
blockchain: make some flag twiddling code closer to the original
9 years ago
moneromooo-monero 81cb0fcdcc
blockchain: fix bitflipping test with quantized block rewards
9 years ago
moneromooo-monero 22ddf09bea
blockchain: add missing m_tx_pool.on_blockchain_dec
9 years ago
moneromooo-monero d837c0ca90
blockchain: fix switch to alternative blockchain for more than one block
9 years ago
moneromooo-monero 5cec076e13
blockchain: add a missing validity check to rollback_blockchain_switching
9 years ago
moneromooo-monero 3cabdb5ef2
core: catch exceptions from get_output_key
9 years ago
moneromooo-monero 5eef64578b
db: throw when given a non txout_to_key output to add
9 years ago
moneromooo-monero 8ea7af1ba3
Allow the wallet to access hard fork information
9 years ago
moneromooo-monero 3f2970fadb
Add missing semicolons after log statements
9 years ago
moneromooo-monero 01e92ebdb0
replace std::auto_ptr with std::unique_ptr
9 years ago
warptangent 9079a32c07
Fix typo
9 years ago
warptangent 3796941d8e
blockchain.cpp: Change indentation from 4 to 2 spaces
9 years ago
warptangent 725acc7f17
Replace tabs with two spaces for consistency with rest of codebase
9 years ago
moneromooo-monero 217792351d
Tone down a bit L0 logs during daemon sync
9 years ago
moneromooo-monero 10da0a0b7c
add a --fakechain argument for tests
9 years ago
moneromooo-monero 595893fcba
blockchain: log block (not chain) height in "BLOCK SUCCESFULLY ADDED"
9 years ago
moneromooo-monero 2369968dc3
blockchain: fix off by one in get_blocks
9 years ago
moneromooo-monero a98e976f9e
blockchain_db: fixup missing key images in early DB version
9 years ago
moneromooo-monero d887c18e33
hardfork: fix more major/minor issues
9 years ago
moneromooo-monero 53c75ab4a0
blockchain: log versions as numbers, not characters
9 years ago
Riccardo Spagni 328636cdb3
fixed testnet fork point, added comment data back in
9 years ago
Riccardo Spagni 8fe1111b5b
update v2 testnet fork height
9 years ago
moneromooo-monero 932994c0cb
Relay transactions when they linger too long in the pool
9 years ago
Javier Smooth baf101ef4a More changes for 2-min blocks
9 years ago
Javier Smooth 4fea1a5fe7 Adjust difficulty target (2 min) and full reward zone (60 kbytes) for block version 2
9 years ago
moneromooo-monero 4187e569d8
hardfork: allow per-fork voting thresholds
9 years ago
moneromooo-monero 4f873bcbaa
Remove some old/obsolete/unused code
9 years ago
Riccardo Spagni e1c29c94ad
Merge pull request #444
9 years ago
Riccardo Spagni db68eca0de
Merge pull request #442
9 years ago
moneromooo-monero ecbb732faa
Fix leak on real output when using a very recent output
9 years ago
moneromooo-monero 5f397e4412
Add functions to iterate through blocks, txes, outputs, key images
9 years ago
moneromooo-monero 6376627530
hardfork: switch voting to block minor version
9 years ago
moneromooo-monero b13e7f284b
blockchain_export can now export to a blocks.dat format
9 years ago
moneromooo-monero ac90d488e7
from hard fork 2, all outputs must be decomposed
9 years ago
moneromooo-monero 90ccad1236
from hard fork 2, claim a quantized reward in coinbase
9 years ago
moneromooo-monero 33affd2d17
blockchain: on hardfork 2, require mixin 2 at least if possible
9 years ago
moneromooo-monero 0a7421b607
hardfork: rescan speedup
9 years ago
moneromooo-monero 4bbf944df0
blockchain: on hardfork 2, allow miners to claim less money than allowed
9 years ago
moneromooo-monero 198f557d38
blockchain: use different hard fork settings for testnet and mainnet
9 years ago
moneromooo-monero 5b11a89a76
hardfork: most state now saved to the DB
9 years ago
moneromooo-monero e546f3724a
Add an RPC call and daemon command to get info on hard fork voting
9 years ago
moneromooo-monero d06713199e
blockchain: force a hardfork recalculation at load time
9 years ago
moneromooo-monero a7177610b3
core: add consts where appropriate
9 years ago
moneromooo-monero 8ffc508cef
core: moan when we think an update is needed to get latest hard fork info
9 years ago
moneromooo-monero f85498422d
blockchain: use the new hardfork class
9 years ago
moneromooo-monero 813e758b62
blockchain: remove obsolete call to libc srand
9 years ago
roman 59cc92b388 removed some gcc warnings. mainly unused variables.
9 years ago
moneromooo-monero 378d004b37
blockchain: mark two places where the new code differs from the old
9 years ago
moneromooo-monero 73d42a75d4
blockchain: update cumulative size after block addition
9 years ago
moneromooo-monero 4a443775e8
blockchain: remove dead code
9 years ago
moneromooo-monero 3f9089a767
blockchain: do not try to add a tx the pool when it was nor taken out
9 years ago
moneromooo-monero 769d5ef0e6
blockchain: fix off by 1 in timestamp median calculations
9 years ago
moneromooo-monero 35abef1b92
blockchain: remove dead code
9 years ago
moneromooo-monero 4f19e68476
blockchain: factor get_num_outpouts(amount) calls
9 years ago
moneromooo-monero 275894cdef
blockchain: always select random outs using triangular distribution
9 years ago
Riccardo Spagni 5a26676932
Merge pull request #343
9 years ago
moneromooo-monero e20a4ddc76
blockchain: fix testnet syncing (to not use blocks.dat)
9 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo 70ae2ee711 Fixed threadpool bug when running on single core systems.
9 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo 94ea3e8ed2 Removed on_idle() calls to Blockchain::store_blockchain() for lmdb.
9 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo e5d2680094 ** CHANGES ARE EXPERIMENTAL (FOR TESTING ONLY)
9 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo 1f83444d3d Update blockchain.cpp
9 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo da1d3c01de
Experimental BDB workaround optimizations
9 years ago
Riccardo Spagni e01d32e52d
cleaning up, removing redundant files, renaming, fixing incorrect licenses
9 years ago
Thomas Winget 7b14d4a17f
Steps toward multiple dbs available -- working
9 years ago
warptangent 275cbd4348
Add support for database open with flags
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
warptangent ce71abd0fe
Move LMDB storage to subfolder
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