Commit Graph

356 Commits (de0392685063d93dbdad3a6b1a2712eaf94dd51a)

Author SHA1 Message Date
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 2f254ff599
hardfork: add a get_ideal_version(uint64_t) function
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
moneromooo-monero 3e89df4150
Build fixes for the old blockchain_storage version
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 03bc6100de
hardfork: use DB transactions when reorganizing
9 years ago
moneromooo-monero 439c4555e9
hardfork: simplify work done on reload
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 22b15704b6
cryptonote_format_utils: add a function to tell if an amount is canonical
9 years ago
moneromooo-monero cec92c4fd3
hardfork: move an assert so it actually works
9 years ago
moneromooo-monero 33affd2d17
blockchain: on hardfork 2, require mixin 2 at least if possible
9 years ago
moneromooo-monero 434e0f42e7
hardfork: make the voting window a week
9 years ago
moneromooo-monero 0a7421b607
hardfork: rescan speedup
9 years ago
moneromooo-monero fec98b8952
hardfork: remove use of GNU extension for initializing object
9 years ago
moneromooo-monero 4bbf944df0
blockchain: on hardfork 2, allow miners to claim less money than allowed
9 years ago
moneromooo-monero 088bc56d79
hardfork: change window semantics to not count the newly added block
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 0a54c3a553
hardfork: remove the "parts are copyright cryptonote" notices
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 62b1f74116
New hardfork class
9 years ago
moneromooo-monero bed9a44e56
blockchain: add a couple missing includes
9 years ago
moneromooo-monero 813e758b62
blockchain: remove obsolete call to libc srand
9 years ago
moneromooo-monero d91eb8c7b4
wallet: only return tx keys via RPC if requested
9 years ago
Riccardo Spagni 6b7be9f89b
Merge pull request #383
9 years ago
roman 59cc92b388 removed some gcc warnings. mainly unused variables.
9 years ago
moneromooo-monero 6c995710d8
make tx keys available to the user
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 83bbea4c7f
Add a is_key_image_spent daemon command and RPC call
9 years ago
moneromooo-monero 35abef1b92
blockchain: remove dead code
9 years ago
Riccardo Spagni 09cada45c4
Merge pull request #363
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
moneromooo-monero a2d7a5fb49
encrypted payment ids are now 64 bit, instead of 256 bit
9 years ago
moneromooo-monero e40cfc4e29
Encrypted payment IDs
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 2e293a563e Fixed binary size issue due to embedded checkpoint data.
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
NoodleDoodleNoodleDoodleNoodleDoodleNoo 5d304cabfd Fix loop bug when calling core::get_block_template, causing calling thread to lock up.
9 years ago
moneromooo-monero 6a0f61d800
account: allow creating an account from a public address and view secret key
9 years ago
moneromooo-monero f6da25a32e
Fix standard address deserialization
9 years ago
Riccardo Spagni 2d9d6c7621
Merge pull request #321
9 years ago
moneromooo-monero bbc5475418
Fix DNS checkpoint consensus code
9 years ago
moneromooo-monero 7bd6efe313
account: add a couple consts
9 years ago
moneromooo-monero 63741d8264
Integrated addresses (standard address plus payment id)
9 years ago
Riccardo Spagni 5bee2d2edf
Merge pull request #303
9 years ago
moneromooo-monero f7767c6508
account: add a forget_spend_key method
9 years ago
Riccardo Spagni e01d32e52d
cleaning up, removing redundant files, renaming, fixing incorrect licenses
9 years ago
warptangent d1eac1b71c
Support debugging command --pop-blocks on in-memory blockchain
9 years ago
Thomas Winget b1d92bcc37
Fixes changes to sort tx by fee per kb
9 years ago
Riccardo Spagni 1d42deb767
Merge pull request #281
9 years ago
Riccardo Spagni 012164fff8
resolved merge conflict in tx_pool.cpp
9 years ago
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