Commit Graph

392 Commits (6adf03cdc516a9236aac6dbd6f289750761b8d24)

Author SHA1 Message Date
moneromooo-monero 740da1ba95
core: fix automatic safe db sync mode switching
6 years ago
moneromooo-monero b9389e582e
db_lmdb: save pruned and prunable tx data separately
6 years ago
moneromooo-monero 5f8ffca34d
speed up get_output_distribution (and precalc common case)
6 years ago
moneromooo-monero ce173cbb5b
core: remove threadpool dependency from header
6 years ago
moneromooo-monero 16e209e08d
core: lock incoming tx lock when checking the txpool and chain
6 years ago
moneromooo-monero 6f859e4328
cryptonote: make sure outPk setup always happens
6 years ago
Thaer Khawaja dad1077577 Only log an error if fork version is higher AND is not known.
6 years ago
moneromooo-monero 11c933e137
fix lambda compile error on openbsd
6 years ago
stoffu 3b941befae
core: add get_earliest_ideal_height_for_version()
6 years ago
moneromooo-monero b1398fff40
core: fix use of uninitialised data
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
Dimitris Apostolou 57c0b1ed9f Fix typos in various files
6 years ago
stoffu af773211cb
Stagenet
6 years ago
moneromooo-monero 4a78a99f96
cryptonote_core: change wording of fork warning message
6 years ago
Riccardo Spagni 6198c816b1
Merge pull request #3170
6 years ago
whythat b3b2d4d20c options: add testnet option dependencies
6 years ago
whythat 05a12ccc2d options: remove testnet-* options
6 years ago
moneromooo-monero 3607d467f3
core: add --no-fluffy-blocks, and enable fluffy blocks by default
6 years ago
moneromooo-monero bc61ae69bf
tx_pool: add a max pool size, settable with --max-txpool-size
6 years ago
Riccardo Spagni e93ff8f22d
Merge pull request #3143
6 years ago
xmr-eric 18216f19dd Update 2018 copyright
6 years ago
moneromooo-monero ba6d2975bc
cryptonote_core: add --disable-dns-checkpoints flag
6 years ago
Riccardo Spagni b38f6dcf0b
Merge pull request #2929
7 years ago
moneromooo-monero 24f584d90d
cryptonote_core: remove unused functions with off by one bugs
7 years ago
moneromooo-monero 8e60b81c48
cryptonote_core: fix db leak on error
7 years ago
moneromooo-monero d9b137f161
cryptonote_core: fix blockchain init call after prototype change
7 years ago
Riccardo Spagni 066fd7aced
Merge pull request #2877
7 years ago
moneromooo-monero 4abf25f3c9
cryptonote_core does not depend on p2p anymore
7 years ago
moneromooo-monero 09ce03d612
move includes around to lessen overall load
7 years ago
Riccardo Spagni 8da24c2a57
Merge pull request #2878
7 years ago
Riccardo Spagni 7998ffc26b
Merge pull request #2871
7 years ago
moneromooo-monero ae55bacd8c
resumption support for updates using range requests
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
xmr-eric 2b0a32f8af Small cleanup of daemon synchronization output
7 years ago
Cifrado 287dde63d8 Added command descriptions
7 years ago
Riccardo Spagni ed2fc4a1ff
Merge pull request #2794
7 years ago
Riccardo Spagni edebe4e3b6
Merge pull request #2736
7 years ago
moneromooo-monero 082db75f28
move cryptonote command line options to cryptonote_core
7 years ago
moneromooo-monero 383ff4f689
remove "using namespace std" from headers
7 years ago
moneromooo-monero 43f27c7d43
core: warn when free disk space is low
7 years ago
binaryFate 10013e9434 Protect node privacy by proper filtering in restricted-mode RPC answers
7 years ago
Riccardo Spagni 344c01c712
Merge pull request #2638
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 529a6a4af8
core: guard against a mined block not finding all txes in the pool
7 years ago
Riccardo Spagni 87d0516f7d
Merge pull request #2513
7 years ago
moneromooo-monero 69ce33f217
core: fix failure to sync when a tx is already in the pool
7 years ago
moneromooo-monero cdbbe99c82
checkpoints: add a token checkpoint on testnet (the genesis block)
7 years ago
moneromooo-monero 5d65a75b69
move checkpoints in a separate library
7 years ago
Riccardo Spagni 13be8115e4
Merge pull request #2458
7 years ago
moneromooo-monero b5faac5304
get_blockchain_top now returns void
7 years ago
moneromooo-monero 309290d1c7
Source updates are in a source subdirectory
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 7f2f6ee1c9
protocol: remove hop count on block propagation
7 years ago
Howard Chu 510d0d4753
Use a threadpool
7 years ago
Riccardo Spagni 7abdba0a5c
Merge pull request #2438
7 years ago
moneromooo-monero 9443eec10f
core: guard against exceptions in tx verification worker threads
7 years ago
Thomas Winget 77986023c3
json serialization for rpc-relevant monero types
7 years ago
moneromooo-monero 6ac61100a1
Add a --fluffy-blocks option to relay blocks as fluffy blocks
7 years ago
Riccardo Spagni 1e57e48342
Merge pull request #2372
7 years ago
moneromooo-monero ce901fcb31
Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocks
7 years ago
moneromooo-monero 84fa015e77
core: guard against exceptions in handle_incoming_{block,tx}
7 years ago
moneromooo-monero a95e460c71
move db specific options to BlockchainDB
7 years ago
Riccardo Spagni 36b978f50e
Merge pull request #2314
7 years ago
Riccardo Spagni ff0afc196e
Merge pull request #2313
7 years ago
moneromooo-monero 55bec1f03d
rpc: add a new RPC to get current txpool backlog (sizes and fees)
7 years ago
Howard Chu c22d22e2db
Cleanup test impact of adding safesyncmode() method
7 years ago
Howard Chu 9a859844f4
Toggle SAFE syncmode on and off automatically
7 years ago
Howard Chu 4c7f8ac04f
DB cleanup
7 years ago
Riccardo Spagni 4466b6d1b0
Merge pull request #2303
7 years ago
Riccardo Spagni 4b2cc123ff
Merge pull request #2287
7 years ago
moneromooo-monero 5a283078ec
cryptonote_protocol: large block sync size before v4
7 years ago
moneromooo-monero 827afcb7ea
protocol: pass blockchain cumulative difficulty when syncing
7 years ago
Riccardo Spagni 3ff67323b7
Merge pull request #2288
7 years ago
moneromooo-monero c6e200a8ab
core: add --db-salvage command line flag
7 years ago
moneromooo-monero a1891ebea9
tests: fix tests build
7 years ago
Riccardo Spagni 62610a3a53
Merge pull request #2225
7 years ago
moneromooo-monero 38756d00ff
core: new API to disable DNS checkpoint lookups
7 years ago
Riccardo Spagni 6db8a60a18
Merge pull request #2149
7 years ago
Riccardo Spagni 9b3b7f050b
Merge pull request #2230
7 years ago
moneromooo-monero 158c3ecff3
core: thread most of handle_incoming_tx
7 years ago
moneromooo-monero 5dd722beaa
core: add a message when loading checkpoints at init time
7 years ago
moneromooo-monero 5d91b26c0f
blockchain: skip checking tx semantics in embedded block hash range
7 years ago
moneromooo-monero a5031a7d02
core: forbid duplicate ring members from v6
7 years ago
moneromooo-monero 0722aea3df
cryptonote_core: initialize checkpoint flag
7 years ago
Riccardo Spagni 3d397325bf
Merge pull request #2063
7 years ago
Howard Chu 5414970dcd
Speedup print_pool_stats
7 years ago
Howard Chu d17c0fc2d0
Don't copy blockchain for coinbase_tx_sum
7 years ago
Riccardo Spagni 907ce14b18
Merge pull request #2026
7 years ago
Riccardo Spagni 545e2b003c
Merge pull request #1982
7 years ago
moneromooo-monero b52abd1370
Move txpool to the database
7 years ago
xmr-eric a57392016b Update sync time copy
7 years ago
assylias bff90264b8
Add expected total reward to RPC "getblocktemplate".
7 years ago
moneromooo-monero 558cfc31ca
core, wallet: faster tx pool scanning
7 years ago
moneromooo-monero a6f1d8fc4c
core: call {prepare|cleanup}_handle_incoming_blocks when adding a mined block
7 years ago
moneromooo-monero 74b216a17f
core: don't try to re-relay an empty set of pool transactions
7 years ago
moneromooo-monero 02097c87eb
core: print the "new update found" message in cyan, for visibility
7 years ago
moneromooo-monero f6211322e5
core: make update download cancellable
7 years ago
moneromooo-monero 9effa55311
core: bound the amount of entries in bad tx semantics cache
7 years ago
moneromooo-monero 5901331669
updates: remove testnet case
7 years ago
moneromooo-monero 822577eb42
updates: we now have a user URL, and an automatic one
7 years ago
moneromooo-monero 9f17b1a30f
updates: s/monerod/monero/ for the main download
7 years ago
Riccardo Spagni 1a4298685a
Merge pull request #1766
7 years ago
moneromooo-monero 708758b737
core: do not download an update we already downloaded
7 years ago
Riccardo Spagni c3599fa7b9
update copyright year, fix occasional lack of newline at line end
7 years ago
moneromooo-monero 417b126fc4
Fix core_tests breaking on startup
7 years ago
moneromooo-monero e74b3ab5f7
core: add p2p bind port options from net_node
7 years ago
Riccardo Spagni 49efd3add9
Merge pull request #1727
7 years ago
moneromooo-monero a5a0a3c894
core: updates can now be downloaded (and SHA256 hash checked)
7 years ago
moneromooo-monero d282cfcc46
core: test key images against validity domain
7 years ago
moneromooo-monero f640512c53
Optionally query moneropulse DNS records to check for updates
7 years ago
Howard Chu bed2d9f231
Get rid of directory lock
7 years ago
moneromooo-monero 0288310e3b
blockchain_db: add "raw" blobdata getters for block and transaction
7 years ago
kenshi84 8027ce0c75 extract some basic code from libcryptonote_core into libcryptonote_basic
7 years ago
Riccardo Spagni fcb299b4ae
Merge pull request #1641
7 years ago
Riccardo Spagni c3eff820be
Merge pull request #1642
7 years ago
Riccardo Spagni f9e60dcd55
Merge pull request #1617
7 years ago
Miguel Herranz ca94d0a43c Separate data per P2P port
7 years ago
moneromooo-monero 3ae79a59e4
core: set missing verifivation_failed flag when rejecting a tx
7 years ago
NanoAkron 98357db400
Update log messages to reflect fact we no longer need to type `exit` to save database before quitting
7 years ago
Miguel Herranz 0644eed772 Remove boost/foreach.cpp includes
7 years ago
Miguel Herranz 629e3101ab Replace BOOST_FOREACH with C++11 ranged for
7 years ago
Riccardo Spagni 9c06a7fd04
Merge pull request #1615
7 years ago
Riccardo Spagni a3de797e57
Merge pull request #1610
7 years ago
moneromooo-monero f098989396
core: cache tx hashes of failing semantics txes
7 years ago
moneromooo-monero b70ab128fc
rpc: fix orphan_status when getting blocks
7 years ago
moneromooo-monero 7c3f79cb9f
core: early out in handle_incoming_tx if already in pool or blockchain
7 years ago
moneromooo-monero 5833d66f65
Change logging to easylogging++
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 65e33b1bc5
Merge pull request #1506
7 years ago
Howard Chu eb1fb6011a
Tweak default db-sync-mode to fast:async:1
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
Riccardo Spagni 0b6031adbf
Merge pull request #1543
7 years ago
Miguel Herranz 19be7225cc Add start_time to get_info methods and show uptime
7 years ago
Miguel Herranz aff28178e6 Remove db-auto-remove-logs
7 years ago
Miguel Herranz 1229c68587 Remove berkeley from db_type initialization
7 years ago
moneromooo-monero 12abe86ac0
core: fix recalculation of emission/fees
8 years ago
Riccardo Spagni f2ea2afb77
Merge pull request #1398
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 2c0173c722
Add a get_outs (fully text based) version of get_outs.bin
8 years ago
Dion Ahmetaj d61bd8187e add lightweight block propagation ("fluffy blocks")
8 years ago
moneromooo-monero 1e163666f3
core: notify the txpool when transactions are relayed
8 years ago
Dion Ahmetaj a6bc1103fd patched parameter type bug that was causing failure on 32 bit
8 years ago
Dion Ahmetaj 7db29d6903 print_coinbase_tx_sum now breaks output into fee and emission components
8 years ago
Dion Ahmetaj dd6c44327b changed params from start/end index to height/count
8 years ago
Dion Ahmetaj 412da63622 added print_coinbase_tx_sum option
8 years ago
Riccardo Spagni d60826c0b9
Merge pull request #1133
8 years ago
Riccardo Spagni e34ef4de6c
Merge pull request #1171
8 years ago
NanoAkron 8ed0d72b12
Moved logging to target functions rather than caller
8 years ago
NanoAkron 6390673137 Removed all code related to fast_exit
8 years ago
NanoAkron 442bfd1600 Added messages at log level 2 to reflect deactivation procedure
8 years ago
moneromooo-monero cec090fc8a
Revert "Fix fake 'network synchronized, begin using' messages"
8 years ago
moneromooo-monero 5e3e362c85
core: make the sync chunk block count overridable
8 years ago
Riccardo Spagni 011e42f337
fix nigglies, as pointed out by moneromooo-monero
8 years ago
Riccardo Spagni df63e0704a
fix remaining bitmonero and simplewallet bits
8 years ago
Howard Chu b8c03a5f10
Remove blocks_per_sync limits
8 years ago
Riccardo Spagni f5b802e684
Merge pull request #999
8 years ago
moneromooo-monero cf33e1a52a
rct: do not serialize public keys in outPk
8 years ago
moneromooo-monero f5465d8246
Condition v2 txes on v3 hard fork
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 9e82b694da
remove original Cryptonote blockchain_storage blockchain format
8 years ago
Howard Chu dc411ea3b7 Change default db-sync-mode to fast, not fastest
8 years ago
Thomas Winget 78035d2b6c
Fix fake 'network synchronized, begin using' messages
8 years ago
moneromooo-monero 11dc091464
Fake outs set is now decided by the wallet
8 years ago
moneromooo-monero 24b3e9007a
Convey tx verification failure reasons to the RPC client
8 years ago
Riccardo Spagni 0d30b65785 Merge pull request #749
8 years ago
Riccardo Spagni 01e0a69c17 Revert "Merge pull request #749"
8 years ago
Thomas Winget c835215ea9
remove defunct code from cryptonote::core
8 years ago
Thomas Winget 50dba6d301
cryptonote::core doxygen documentation
8 years ago
Thomas Winget 540a76c5c2
Move checkpoint functions into checkpoints class
8 years ago
moneromooo-monero f7301c3563
Revert "Print stack trace upon exceptions"
8 years ago
moneromooo-monero fff238ec94
Print stack trace upon exceptions
8 years ago
moneromooo-monero 889217381f
core: print "update needed" hard fork notifications in red
8 years ago
moneromooo-monero a333c42cde
core_tests: add tests for hard fork behaviors (MRL-0004)
8 years ago
moneromooo-monero 05bfb51d3e
core: move the db lock to the data directory
8 years ago
moneromooo-monero 8b3539bc11
core: prevent the database from being used by multiple daemons
8 years ago
moneromooo-monero 3b1d7e03fc
Fix V1/V2 use of hard fork related parameters
8 years ago
Riccardo Spagni b98d88c17e
Merge pull request #587
9 years ago
moneromooo-monero 1e07110a7a
Nicer looking exit when blockchain.bin is found
9 years ago
moneromooo-monero 40f97ce83d
core: do not use the persistent pool state for tests
9 years ago
Riccardo Spagni de03926850
updated copyright year
9 years ago
moneromooo-monero 09533557b5
blockchain_db: inform user about new format if blockchain.bin is found
9 years ago
warptangent 725acc7f17
Replace tabs with two spaces for consistency with rest of codebase
9 years ago
moneromooo-monero 10da0a0b7c
add a --fakechain argument for tests
9 years ago
moneromooo-monero 336b37580f
Register daemon command line arguments to core if they're used in core
9 years ago
moneromooo-monero 932994c0cb
Relay transactions when they linger too long in the pool
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 83bbea4c7f
Add a is_key_image_spent daemon command and RPC call
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
warptangent 71af04669c
Update log statements
9 years ago