Commit Graph

102 Commits (737b6d6cf5b46a68304a8f9f83e262e560c33c0a)

Author SHA1 Message Date
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