Commit Graph

1074 Commits (b8cc6d46bdd4d916064c4678580eca91918bf82e)

Author SHA1 Message Date
moneromooo-monero 1c8262c527
db_bdb: move log_set_config call before open
9 years ago
moneromooo-monero 8620b31019
db_bdb: support for libdb without DB_FORCESYNC
9 years ago
moneromooo-monero 34e388949d
p2p: failure to load p2pstate.bin is not fatal anymore
9 years ago
moneromooo-monero a98e976f9e
blockchain_db: fixup missing key images in early DB version
9 years ago
moneromooo-monero c6cfe0f26d
wallet: make the wallet refresh type a wallet setting
9 years ago
moneromooo-monero fef2493617
wallet: default auto-refresh to true for old wallets
9 years ago
Riccardo Spagni 0252ffc37b
Merge pull request #518
9 years ago
moneromooo-monero a3c5ca077c
blockchain_db: make the indexing base a BlockchainDB virtual function
9 years ago
moneromooo-monero 1965fce402
wallet: add a stop_wallet RPC call
9 years ago
moneromooo-monero a702118426
blockchain_dump: fix output key dump for BDB 1-based indices
9 years ago
moneromooo-monero 3bf35e14e3
db_bdb: read 32 bit heights from keys
9 years ago
Riccardo Spagni 2bed53cb6b
Merge pull request #515
9 years ago
moneromooo-monero 41029d6d74
wallet2: default auto-refresh to true for preexisting wallets
9 years ago
Riccardo Spagni 2ea8d7345f Revert "Merge pull request #506"
9 years ago
Riccardo Spagni f78f9c5480
Merge pull request #512
9 years ago
moneromooo-monero d68a63e404
wallet: cancellable refresh
9 years ago
Riccardo Spagni 8289975e22
Merge pull request #511
9 years ago
moneromooo-monero 36a298c375
simplewallet: add tr markers in a few missing user visible strings
9 years ago
Riccardo Spagni 5275db0786
Merge pull request #509
9 years ago
Riccardo Spagni bc1bc4adb2
Merge pull request #507
9 years ago
Riccardo Spagni c6bf73131a
Merge pull request #506
9 years ago
Riccardo Spagni 8a52cf4055
Merge pull request #505
9 years ago
Riccardo Spagni 5c3b29792c
Merge pull request #504
9 years ago
Riccardo Spagni 83b412f471
Merge pull request #503
9 years ago
moneromooo-monero 66849ac236
simplewallet: swap colors in show_transfers
9 years ago
moneromooo-monero 3030e3ecff
wallet2: remove confirmed transactions from detached blocks
9 years ago
moneromooo-monero 9ee48e9071
wallet2: speed up wallet refresh for large miners
9 years ago
moneromooo-monero 62e49a5f02
wallet: optional automatic refresh from the daemon
9 years ago
moneromooo-monero e45a8c9768
core: serialize block major/minor versions as bytes, not varints
9 years ago
moneromooo-monero 75742977a8
core_rpc_server: add a --restricted-rpc option
9 years ago
moneromooo-monero 490590306e
wallet2: parallelize pulling blocks and processing them on refresh
9 years ago
moneromooo-monero d0eaf1d4e1
wallet2: maintain the short chain manually when refreshing
9 years ago
moneromooo-monero a4e9506069
wallet2: split pull blocks between pulling and processing
9 years ago
moneromooo-monero 55e5a33d85
rpc: pass current block target in rpc
9 years ago
moneromooo-monero 38ceb73848
add RPC calls and commands to get/set bans
9 years ago
moneromooo-monero 7bc4dce6ed
net_node: allow bans for custom amounts of time
9 years ago
moneromooo-monero 0921f5b4d7
util: use putenv instead of setenv for mingw
9 years ago
Riccardo Spagni 4061a32082
Merge pull request #501
9 years ago
Riccardo Spagni 64d7384779
Merge pull request #500
9 years ago
Riccardo Spagni 350e67c103
Merge pull request #499
9 years ago
Riccardo Spagni 1408a20be3
Merge pull request #498
9 years ago
Riccardo Spagni 8ff2313f96
Merge pull request #497
9 years ago
moneromooo-monero d887c18e33
hardfork: fix more major/minor issues
9 years ago
moneromooo-monero 3b47ca2d7d
hardfork: fix rescan on load
9 years ago
Javier Smooth 4cea2b13b2 Add IP blocking for misbehaving nodes (adapted from Boolberry)
9 years ago
Javier Smooth 9c64b12320 quiet down p2p logging a bit
9 years ago
moneromooo-monero 53c75ab4a0
blockchain: log versions as numbers, not characters
9 years ago
moneromooo-monero edade8dc81
hardfork: fix actual/voting confusion
9 years ago
moneromooo-monero 06c8b94925
daemon: fix blockchain height display not updating after sync
9 years ago
moneromooo-monero 410c6cf3bd
cn_deserialize: a new tool to decode blocks and transactions
9 years ago
Javier Smooth 3d0b3c5018 add recent static checkpoint
9 years ago
moneromooo-monero 9b945f5211
wallet: make the refresh optimizations selectable via command line
9 years ago
Riccardo Spagni 263cc48c48
Merge pull request #495
9 years ago
moneromooo-monero d2c031332e
wallet: speedup refresh from daemon
9 years ago
moneromooo-monero ea707c779c
wallet2: minor cleanup
9 years ago
moneromooo-monero 55a2da7475
wallet2: speedup refresh a bit
9 years ago
Riccardo Spagni 328636cdb3
fixed testnet fork point, added comment data back in
9 years ago
Riccardo Spagni 72a348e734
Merge pull request #496
9 years ago
moneromooo-monero db1fb66e66
wallet: storing outgoing tx info now defaults to enabled
9 years ago
moneromooo-monero 9156ba3a3c
wallet: rename store-tx-keys to store-tx-info
9 years ago
moneromooo-monero b3d4d41e29
wallet: improve show_transfers
9 years ago
moneromooo-monero 725ae4e710
wallet: use incoming blocks to keep track of payments too
9 years ago
Riccardo Spagni aed3038b75
disable time-stats by default, tweak fast-block-sync description
9 years ago
Riccardo Spagni 8fe1111b5b
update v2 testnet fork height
9 years ago
Riccardo Spagni 4d74510a4a
checkpoints update
9 years ago
moneromooo-monero 00790a8921
simplewallet: lessen display flicker confusion
9 years ago
Riccardo Spagni 9276233b9e
Merge pull request #493
9 years ago
moneromooo-monero f3724aef88
Fix startup crash when using a locale boost does not like
9 years ago
moneromooo-monero 0c1dae32b4
i18n: allow language to be passed as a parameter
9 years ago
moneromooo-monero 932994c0cb
Relay transactions when they linger too long in the pool
9 years ago
Riccardo Spagni 0d09e15a1c
Merge pull request #490
9 years ago
Riccardo Spagni 61a015d01d
Merge pull request #487
9 years ago
moneromooo-monero 3f611bc3dc
wallet: track outgoing payments and add a show_transfers command
9 years ago
moneromooo-monero 1b40952754
Revert "db_bdb: record numbers for recno databases start at 1"
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
Riccardo Spagni 575af61815
Merge pull request #470
9 years ago
moneromooo-monero b1d0c8a049
blockchain_dump: fix build without berkeley db
9 years ago
moneromooo-monero c7dc6ef8e8
simplewallet: add a set default-mixin command
9 years ago
moneromooo-monero 5f8baba26e
wallet2: fix CLANG compile error
9 years ago
Riccardo Spagni 5978fc18f7
Merge pull request #463
9 years ago
Riccardo Spagni 9ea58ebbae
Merge pull request #461
9 years ago
Riccardo Spagni 6960b1e8a9
Merge pull request #460
9 years ago
Riccardo Spagni 167e8512ff
Merge pull request #457
9 years ago
Riccardo Spagni 62b0984e65
Merge pull request #455
9 years ago
moneromooo-monero 051ddbc741
rpc: fix start_mining and status RPC crashes
9 years ago
moneromooo-monero bc110af0ee
blockchain_utilities: properly exit on error
9 years ago
moneromooo-monero 4f873bcbaa
Remove some old/obsolete/unused code
9 years ago
moneromooo-monero e70d2e5be8
common: const and init list pedantry
9 years ago
moneromooo-monero 6df4e67cd2
Fix a possibly-unused warning, and rationalize types
9 years ago
Riccardo Spagni 9292c1e7cd
Merge pull request #453
9 years ago
moneromooo-monero 3e89df4150
Build fixes for the old blockchain_storage version
9 years ago
moneromooo-monero ecf0b83406
db_bdb: add versioning, to detect incompatible format changes
9 years ago
moneromooo-monero f7e99047e4
db_lmdb: add versioning, to detect incompatible format changes
9 years ago
Riccardo Spagni bb0c161e7d renamed folder
9 years ago
Riccardo Spagni 0640cde88f
Merge pull request #448
9 years ago
Riccardo Spagni 0821c6f6ad
Merge pull request #446
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 06c65cb0ef
rpc: fix hard_fork_info RPC
9 years ago
moneromooo-monero 6f5c129c92
rpc: fix a few commands not working as command line
9 years ago
moneromooo-monero 9caf52bf5a
daemon: add a status command
9 years ago
moneromooo-monero ecbb732faa
Fix leak on real output when using a very recent output
9 years ago
moneromooo-monero 43bca0d2f7
blockchain_utilities: new blockchain_dump diagnostic tool
9 years ago
moneromooo-monero 5f397e4412
Add functions to iterate through blocks, txes, outputs, key images
9 years ago
moneromooo-monero 0a5a5e8597
db_bdb: record numbers for recno databases start at 1
9 years ago
moneromooo-monero 50dfdc057a
db_bdb: DB_KEYEMPTY is also not found for non-top recon fields
9 years ago
moneromooo-monero 572780e335
blockchain_db: use the DNE exceptions where appropriate
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 11db442a6c
bootstrap_file: do not try to create a directory with an empty name
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
Riccardo Spagni e6d2460263
Merge pull request #432
9 years ago
Riccardo Spagni eef5fa446e
Merge pull request #431
9 years ago
moneromooo-monero 1ce2621a73
simplewallet: add a check_tx_key command
9 years ago
moneromooo-monero 5ea2f936ae
wallet2: really include non canonical outputs in dust sweep
9 years ago
moneromooo-monero 253ed76ef4
core_rpc_server: add optional json decoded tx to COMMAND_RPC_GET_TRANSACTIONS
9 years ago
moneromooo-monero ca23c0e5c8
core_rpc_server: add a getblock RPC command, and fix print_block
9 years ago
moneromooo-monero 0f6d3aa9c7
simplewallet: hide start_mining behind --trusted-daemon
9 years ago
Riccardo Spagni 0fdc75b054
Merge pull request #427
9 years ago
moneromooo-monero df8a1105e6
simplewallet: add a --trusted-daemon flag
9 years ago
moneromooo-monero 79c95c1748
simplewallet: bump default mixin from 3 to 4
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
Riccardo Spagni 5b47019cf4
Merge pull request #420
9 years ago
Riccardo Spagni 2ce54a0d3e
Merge pull request #415
9 years ago
warptangent ee27559724
Update to compile with latest miniupnpc
9 years ago
moneromooo-monero 180bcde866
build: default to Berkeley DB for 32 bit and ARM
9 years ago
moneromooo-monero 791d8cb038
db_bdb: fix hard fork keys
9 years ago
moneromooo-monero cec92c4fd3
hardfork: move an assert so it actually works
9 years ago
Riccardo Spagni 1e7fc9c093
Merge pull request #410
9 years ago
Riccardo Spagni 419d70eb1f
Merge pull request #409
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 151c32d5c4
dns_utils: fix wrong asserts
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
Riccardo Spagni cf88e4dd24
Merge pull request #394
9 years ago
moneromooo-monero 4e138a02df
dns_utils: remove unnecessary string conversion
9 years ago
moneromooo-monero f928468b9b
dns_utils: factor the fetching code for different DNS record types
9 years ago
moneromooo-monero 4ef0da184d
dns_utils: simplify string handling and fix leak
9 years ago
moneromooo-monero ae5f28cb51
dns_utils: add a const where possible
9 years ago
moneromooo-monero f43d465da2
dns_utils: lock access to the singleton
9 years ago
moneromooo-monero 5990344cb0
dns: make ctor private
9 years ago
Javier Smooth b19456dc6d Re-enable optimized slow-hash if someone is trying to compile w/MSVC (disabling it was unintentional)
9 years ago
Riccardo Spagni a1af0feb06
Merge pull request #390
9 years ago
Riccardo Spagni 41e2323ddc
Merge pull request #388
9 years ago
moneromooo-monero 5dc53c2cb0
wallet: use mutex protected random generation api
9 years ago
moneromooo-monero 813e758b62
blockchain: remove obsolete call to libc srand
9 years ago
moneromooo-monero e20a3ae011
simplewallet: add a store-tx-keys option to set
9 years ago
moneromooo-monero d91eb8c7b4
wallet: only return tx keys via RPC if requested
9 years ago
Riccardo Spagni 32077d3810
Merge pull request #385
9 years ago
Riccardo Spagni 6b7be9f89b
Merge pull request #383
9 years ago
Riccardo Spagni c24a7e8fc0
Merge pull request #381
9 years ago
ShenNoether 0a4bc84b2f Added ref10 shen_ed25519_ref code, which includes code that can replace crypto-ops with a version straight from Bernstein's ref 10
9 years ago
ShenNoether 0d70fdca8c revert to 776b4fc91a
9 years ago
ShenNoether b01f286473 Added shen_ed25519_ref to crypto ops subfolder, the point is to directly have bitmonero's crypto code come from bernstein et al's ref 10 code
9 years ago
roman 3b5330e895 use correct unsigned type
9 years ago
roman 59cc92b388 removed some gcc warnings. mainly unused variables.
9 years ago
moneromooo-monero f19759992c
wallet: encrypt the cache file
9 years ago
moneromooo-monero 98c76a388c
chacha8: add a key generation variant that take a pointer and size
9 years ago
moneromooo-monero 6c995710d8
make tx keys available to the user
9 years ago
Riccardo Spagni 49df0e6f50
Merge pull request #378
9 years ago
warptangent 7c4d6f1dc6
simplewallet: Use default log file name when executable's file path is unknown
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
Riccardo Spagni f7c27f81af
Merge pull request #376
9 years ago
warptangent 7424cfc7b8
net_node: Use DNS resolver singleton
9 years ago
warptangent 471e8a3195
blockchain_import: Add --input-file option
9 years ago
warptangent 3ffda6eefb
blockchain_import: Updates for naming consistency
9 years ago
Riccardo Spagni b064bad315
Merge pull request #374
9 years ago
warptangent 97c5faa0b6
blockchain_export: Add --output-file argument
9 years ago
moneromooo-monero dde4dbb977
doc: hammer the fact that the raw file isn't blockchain.bin
9 years ago
Riccardo Spagni 7792255968
Merge pull request #369
9 years ago
Riccardo Spagni 90fc005946
Merge pull request #368
9 years ago
Riccardo Spagni 9564dcab48
Merge pull request #367
9 years ago
moneromooo-monero d87a2d2bb2
core_rpc_server: replace vector<bool> with vector<int> in RPC
9 years ago
moneromooo-monero 7764cd7006
net_node: skimplify rate limit code, and log as appropriate
9 years ago
moneromooo-monero aa5bc351d4
wallet: new rescan_spent command to update outputs' spent status
9 years ago
moneromooo-monero e7b00abfaa
core_rpc_server: find transactions in the pool as well as the blockchain
9 years ago
moneromooo-monero e63b854967
blockchain_db: match tx addition semantics to original code
9 years ago