Commit Graph

983 Commits (release-v0.2.2.0)

Author SHA1 Message Date
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
moneromooo-monero dbfef643ed
tx_pool: catch exceptions in LockedTXN dtor
7 years ago
moneromooo-monero 6ac61100a1
Add a --fluffy-blocks option to relay blocks as fluffy blocks
7 years ago
Riccardo Spagni c919ca4f1d
Merge pull request #2374
7 years ago
Riccardo Spagni 1e57e48342
Merge pull request #2372
7 years ago
Thomas Winget 9ac2ad0744
DRY refactoring
7 years ago
moneromooo-monero e72e625eb1
tx_pool: wrap tx meta updates in a LockedTXN
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 72b5f37f58
Merge pull request #2349
7 years ago
Riccardo Spagni e00238a355
Merge pull request #2347
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 5807529e69
blockchain: cap memory size of retrieved blocks
7 years ago
moneromooo-monero 55bec1f03d
rpc: add a new RPC to get current txpool backlog (sizes and fees)
7 years ago
moneromooo 1914c999c7
txpool: update db tx metadata when it changes
7 years ago
moneromooo 4dbf29bd32
txpool: add tx size median to the pool stats
7 years ago
Riccardo Spagni 944bbdb51e
Merge pull request #2330
7 years ago
Howard Chu ea15e72d73
tx_pool: fix crash in stats
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
moneromooo-monero 5d989b661a
core: add mainnet v6 fork height at 1400000
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
Riccardo Spagni 53dde37ceb
Merge pull request #2276
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 c6e200a8ab
core: add --db-salvage command line flag
7 years ago
moneromooo-monero a1891ebea9
tests: fix tests build
7 years ago
moneromooo-monero 635929eaca
protocol: add checks for top block hard fork version
7 years ago
Riccardo Spagni bff9fb9c8b
Merge pull request #2231
7 years ago
moneromooo-monero 61770ec2da
change mixin to ring size in user visible places
7 years ago
Riccardo Spagni 14f479bb9c
Merge pull request #2262
7 years ago
Riccardo Spagni 62610a3a53
Merge pull request #2225
7 years ago
moneromooo-monero 7f7d42f890
core: fix invalid memory access creating tx
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 dc2747439c
Merge pull request #2243
7 years ago
Riccardo Spagni ea46a5527a
Merge pull request #2234
7 years ago
Riccardo Spagni 9b3b7f050b
Merge pull request #2230
7 years ago
Riccardo Spagni 5cc53c7e49
Merge pull request #2226
7 years ago
Riccardo Spagni a2dd125b1e
Merge pull request #2222
7 years ago
Riccardo Spagni 8048de268a
Merge pull request #2216
7 years ago
Riccardo Spagni 61ac6983f2
Merge pull request #2206
7 years ago
Riccardo Spagni 0f36efbded
Merge pull request #2198
7 years ago
moneromooo-monero 4d87304683
blockchain: add testnet v6 fork height at 971400
7 years ago
moneromooo-monero 158c3ecff3
core: thread most of handle_incoming_tx
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 214fd81e93
some include cleanup
7 years ago
moneromooo-monero 5dd722beaa
core: add a message when loading checkpoints at init time
7 years ago
moneromooo-monero 14ec6ed80d
tx_pool: remove obsolete unused m_config_folder field
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 340feedee2
core: randomly shuffle outputs
7 years ago
moneromooo-monero 53af9768ce
blockchain: one off warning when seeing a block with unknown version
7 years ago
moneromooo-monero a5031a7d02
core: forbid duplicate ring members from v6
7 years ago
Riccardo Spagni 42fc89b672
Merge pull request #2142
7 years ago
moneromooo-monero 02d66db4b4
tx_pool: initialize padding in txpool meta structure
7 years ago
moneromooo-monero 0722aea3df
cryptonote_core: initialize checkpoint flag
7 years ago
Julien Klepatch bdab3436d3 Fix mismatch of parameter name between header file and implementation for set_user_options()
7 years ago
Riccardo Spagni 78f965a9e2
Merge pull request #2082
7 years ago
moneromooo-monero 235df7f484
blockchain_db: add a txpool tx getter which returns existence
7 years ago
Howard Chu 3fc22e7b78
Add histogram to poolstats
7 years ago
Riccardo Spagni 3d397325bf
Merge pull request #2063
7 years ago
Riccardo Spagni 4a60e9e66e
Merge pull request #2062
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
moneromooo-monero 31417d57da
tx_pool: add missing blockchain lock in add_tx
7 years ago
Riccardo Spagni a4c13ea092
Merge pull request #2039
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
Gentian 4b932ff314 changed crypto to cncrypto so it generated libcncrypto
7 years ago
xmr-eric a57392016b Update sync time copy
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
moneromooo-monero 893f5a301e
tx_pool: add blob size and fee/byte when logging a new tx
7 years ago
Riccardo Spagni e3d2b135e7
Merge pull request #1924
7 years ago
moneromooo-monero 6d315459b6
core: avoid possible reordering bugs wth tx/bloch hash cache
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
Riccardo Spagni a73a886cb1
Merge pull request #1911
7 years ago
moneromooo-monero 91d4109023
tx_pool: ensure txes loaded from poolstate.bin have their txid cached
7 years ago
moneromooo-monero aaeb164cf6
tx_pool: remove transactions if they're in the blockchain
7 years ago
moneromooo-monero 558cfc31ca
core, wallet: faster tx pool scanning
7 years ago
moneromooo-monero f065234b71
core: cache tx and block hashes in the respective classes
7 years ago
moneromooo-monero 2242d8ebd6
tx_pool: silence use of uninitialized warning
7 years ago
moneromooo-monero 7c03349869
blockchain: lower the relay fee by 2%
7 years ago
moneromooo-monero 266492e919
tx_pool: use new filling algorithm from v5 only
7 years ago
Riccardo Spagni 73e8510717
Merge pull request #1896
7 years ago
moneromooo-monero a6f1d8fc4c
core: call {prepare|cleanup}_handle_incoming_blocks when adding a mined block
7 years ago
Lee Clagett 50cd179a60 Removed boost/asio.hpp include from epee/string_tools.h
7 years ago
Riccardo Spagni c642d3224c
Merge pull request #1869
7 years ago
moneromooo-monero 3396a9f2af
Add intervening v5 fork for increased min block size
7 years ago
moneromooo-monero 74b216a17f
core: don't try to re-relay an empty set of pool transactions
7 years ago
kenshi84 7d07c64fe5
fix dependency: put HardFork back to cryptonote_basic, made some BlockchainDB functions virtual again to avoid missing symbols error
7 years ago
Riccardo Spagni ba0767477d
Merge pull request #1841
7 years ago
moneromooo-monero cfa2564a40
blockchain: don't try to load an empty block hash set
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
Riccardo Spagni 4728ab977a
Merge pull request #1837
7 years ago
moneromooo-monero 3153349325
core: quantize per kB fee to 8 decimals
7 years ago
moneromooo-monero cd71774d77
tx_pool: log separately "not ready" and "double spend" cases
7 years ago
Howard Chu 296641e047
Fix #1824 don't end batch that we didn't start
7 years ago
moneromooo-monero 12adb4a3f3
core: move hardfork back to cryptonote_core
7 years ago
Riccardo Spagni ed6f2e8323
Merge pull request #1785
7 years ago
moneromooo-monero 583a7b5c74
core: protect precomputed block hashes with SHA256
7 years ago
moneromooo-monero 9effa55311
core: bound the amount of entries in bad tx semantics cache
7 years ago
moneromooo-monero 240054a7f8
core: remove a couple unused/obsolete bits
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
Riccardo Spagni 59d96eedd8
Merge pull request #1724
7 years ago
Riccardo Spagni 565c99f670
Merge pull request #1731
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
moneromooo-monero e3cae4ae2e
core: display any fork warning at startup too
7 years ago
Riccardo Spagni 675434ffab
Merge pull request #1748
7 years ago
moneromooo-monero c32830937c
tx_pool: revert template filling changes
7 years ago
Howard Chu bed2d9f231
Get rid of directory lock
7 years ago
Howard Chu dc53e9eef2
Add a few read txns to streamline
7 years ago
moneromooo-monero a427235e30
core: add a missing newline on a string to be logged
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
moneromooo-monero 5adcb5a48c
tx_pool: add a debug message when adding a tx to the pool
7 years ago
kenshi84 8027ce0c75 extract some basic code from libcryptonote_core into libcryptonote_basic
7 years ago
kenshi84 bab1e9a397 bugfix: infinite recursion in get_account_address_from_str_or_url
7 years ago
Riccardo Spagni eb21389953
Merge pull request #1664
7 years ago
moneromooo-monero b5cb8861c7
core: fix integrated addresses breaking with auto zero change
8 years ago
Riccardo Spagni fcb299b4ae
Merge pull request #1641
8 years ago
Riccardo Spagni c3eff820be
Merge pull request #1642
8 years ago
Riccardo Spagni a6f61b8419
Merge pull request #1631
8 years ago
Riccardo Spagni ca2e2c2453 Merge pull request #1627
8 years ago
Riccardo Spagni f9e60dcd55
Merge pull request #1617
8 years ago
Miguel Herranz ca94d0a43c Separate data per P2P port
8 years ago
moneromooo-monero 3ae79a59e4
core: set missing verifivation_failed flag when rejecting a tx
8 years ago
Alexis Enston 58e825060e Blockfill - Sort tx pool correctly
8 years ago
Alexis Enston 5f7a8741b9 Blockfill - Take TX fees into account properly
8 years ago
Alexis Enston 4ecab0d80c Consider empty block when filling with TXs
8 years ago
kenshi84 55a8e982c0 moved get_account_address_from_str_or_url from libcommon to libcryptonote_core
8 years ago
NanoAkron 98357db400
Update log messages to reflect fact we no longer need to type `exit` to save database before quitting
8 years ago
Miguel Herranz 0644eed772 Remove boost/foreach.cpp includes
8 years ago
Miguel Herranz 36dd3e238f Replace BOOST_REVERSE_FOREACH with ranged for
8 years ago
Miguel Herranz 629e3101ab Replace BOOST_FOREACH with C++11 ranged for
8 years ago
Riccardo Spagni 9c06a7fd04
Merge pull request #1615
8 years ago
Riccardo Spagni a3de797e57
Merge pull request #1610
8 years ago
moneromooo-monero f098989396
core: cache tx hashes of failing semantics txes
8 years ago
moneromooo-monero b70ab128fc
rpc: fix orphan_status when getting blocks
8 years ago
moneromooo-monero 7c3f79cb9f
core: early out in handle_incoming_tx if already in pool or blockchain
8 years ago
moneromooo-monero 64da0983d5
core: don't try to deserialize an empty extra to remove a field
8 years ago
moneromooo-monero 5833d66f65
Change logging to easylogging++
8 years ago
Riccardo Spagni 99ffc49740
Merge pull request #1577
8 years ago
Riccardo Spagni 1207d8ad0d
Merge pull request #1576
8 years ago
Riccardo Spagni 10c6afd316
Merge pull request #1571
8 years ago
Riccardo Spagni 51baab2112
Merge pull request #1565
8 years ago
Riccardo Spagni 8bd2c2e551
Merge pull request #1563
8 years ago
Riccardo Spagni 65e33b1bc5
Merge pull request #1506
8 years ago
Howard Chu eaf8470b29
Must wait for previous batch to finish before starting new one
8 years ago
Howard Chu eb1fb6011a
Tweak default db-sync-mode to fast:async:1
8 years ago
Howard Chu 0693cff925
Use batch transactions when syncing
8 years ago
moneromooo-monero feb499aaae
core: check block version for alt chains too
8 years ago
moneromooo-monero ba3968f6ce
rct: split rct checks between semantics and other
8 years ago
moneromooo-monero 81c384e408
fix do_not_relay not preventing relaying on a timer
8 years ago
moneromooo-monero 176b70a0d4
account: fix build error involving std::max and different types
8 years ago
moneromooo-monero 50b230d12c
core: ensure block size limit is set from the start
8 years ago
Riccardo Spagni cbb39b499b
Merge pull request #1558
8 years ago
Riccardo Spagni e75fd059dd
Merge pull request #1555
8 years ago
Riccardo Spagni 0b6031adbf
Merge pull request #1543
8 years ago
Riccardo Spagni 006bb0e957
Merge pull request #1538
8 years ago
Miguel Herranz 36ba311cf4 Prioritize older transactions in the mempool
8 years ago
Chris Vickio 7961878e81 initialize timestamp to 0 and check for mktime() error
8 years ago
Miguel Herranz 19be7225cc Add start_time to get_info methods and show uptime
8 years ago
luigi1111 758c0eb79f
fix time stats mixin
8 years ago
Miguel Herranz aff28178e6 Remove db-auto-remove-logs
8 years ago
Miguel Herranz 1229c68587 Remove berkeley from db_type initialization
8 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 ba9744d400
Merge pull request #1515
8 years ago
Riccardo Spagni fdb1cda965
Merge pull request #1502
8 years ago
Riccardo Spagni d655e88b44
Merge pull request #1499
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
kenshi84 f390a0e2dc portable serializer: make signerd/unsigned tx portable, ignore archive version checking
8 years ago
moneromooo-monero 591d83686e
core: invalidate difficulty cache when resetting blockchain
8 years ago
moneromooo-monero 37ed96e611
tx_pool: fix uninitialized "last failed" fields
8 years ago
luigi1111 374762654e
add tx hash to time stats
8 years ago
moneromooo-monero 12abe86ac0
core: fix recalculation of emission/fees
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
kenshi84 66e6af89ce added experimental boost::archive::portable_binary_{i|o}archive
8 years ago
Riccardo Spagni b1bdb4e529
Merge pull request #1437
8 years ago
moneromooo-monero dd144b14bc
blockchain: fix reorganizations past a hard fork boundary
8 years ago
Riccardo Spagni 39a9db9eb1
update checkpoints
8 years ago
Riccardo Spagni 930aceb242
Merge pull request #1419
8 years ago
Riccardo Spagni 0f99423080
Merge pull request #1418
8 years ago
moneromooo-monero f4a3ce15c1
Fix sending outputs from a tx with more than one pubkey
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
Shen Noether 76958fc75a
ringct: switch to Borromean signatures
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
Riccardo Spagni 2fd43e25ee
Merge pull request #1386
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
Jaquee 0059218908
change 'invalid address format' loglevel
8 years ago
moneromooo-monero 2c0173c722
Add a get_outs (fully text based) version of get_outs.bin
8 years ago
moneromooo-monero 11ae1873f8
wallet2: try all tx keys when scanning a new transaction
8 years ago
moneromooo-monero 23d80b15fd
core: remove any tx pubkey from extra before adding one
8 years ago
Riccardo Spagni 5f568533aa
Merge pull request #1263
8 years ago
Dion Ahmetaj d61bd8187e add lightweight block propagation ("fluffy blocks")
8 years ago
Riccardo Spagni 4c44d896d3
Merge pull request #1285
8 years ago
Riccardo Spagni 0fa6cbef3f
Merge pull request #1276
8 years ago
luigi1111 a970a4e3cf
refresh speedup
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 f5ccfa4001
core: fix removal of extra nonce using wrong type
8 years ago
moneromooo-monero 10a79eae24
daemon: report transaction relay status in print_pool* commands
8 years ago
moneromooo-monero 1e163666f3
core: notify the txpool when transactions are relayed
8 years ago
moneromooo-monero f3c374fe08
tx_pool: set relayed flag on relay
8 years ago
Riccardo Spagni d63fabdc62
Merge pull request #1215
8 years ago
moneromooo-monero 88faec75fe
wallet: select part of the fake outs from recent outputs
8 years ago
Dion Ahmetaj a6bc1103fd patched parameter type bug that was causing failure on 32 bit
8 years ago
Riccardo Spagni 34fcfcd7cc
Merge pull request #1203
8 years ago
Riccardo Spagni 3db0ebafe5
Merge pull request #1204
8 years ago