moneromooo-monero
e98ae34e4b
core: fix adding new pre-hoh block when a tx is already in the pool
6 years ago
moneromooo-monero
d4f50cb109
remove some unused code
...
Found by codacy.com
6 years ago
Martijn Otto
bd98e99c80
Removed a lot of unnecessary includes
6 years ago
Riccardo Spagni
0cc3fc3756
Merge pull request #4769
...
5808530f
blockchain: remove unused output_scan_worker parameter (moneromooo-monero)
1426209a
blockchain: don't run threads if we have just one function to run (moneromooo-monero)
6f7a5fd4
db_lmdb: slight speedup getting array data from the blockchain (moneromooo-monero)
99fbe100
db_lmdb: save some string copies for readonly db keys/values (moneromooo-monero)
bf31447e
tx_pool: speed up take_tx for transactions from blocks (moneromooo-monero)
4f005a77
tx_pool: remove unnecessary get_transaction_hash (moneromooo-monero)
593ef598
perf_timer: call reserve on new timer array (moneromooo-monero)
6ecc99ad
core: avoid unnecessary tx/blob conversions (moneromooo-monero)
00cc1a16
unit_tests: notify test special case for the usual weirdo (moneromooo-monero)
6 years ago
moneromooo-monero
3dba7f252e
protocol: option to pad transaction relay to the next kB
...
To help protect one's privacy from traffic volume analysis
for people using Tor or I2P. This will really fly once we
relay txes on a timer rather than on demand, though.
Off by default for now since it's wasteful and doesn't bring
anything until I2P's in.
6 years ago
xiphon
b3067962fa
cryptonote_core: avoid gratuitous recalculations in check_block_rate()
6 years ago
xiphon
233f00c601
cryptonote_core: fix build error gcc 5.4.0 'sign-compare'
6 years ago
moneromooo-monero
6ecc99ad1f
core: avoid unnecessary tx/blob conversions
6 years ago
Riccardo Spagni
056a58d13f
Merge pull request #4536
...
fd62b6e7
blocks: use auto-generated .c files instead of 'LD -r -b binary' (xiphon)
6 years ago
Riccardo Spagni
557c17e206
Merge pull request #4408
...
341b3931
cryptonote_core: warn when the block rate deviates from expectations (moneromooo-monero)
6 years ago
xiphon
fd62b6e79f
blocks: use auto-generated .c files instead of 'LD -r -b binary'
6 years ago
moneromooo-monero
c39e0a1706
core: don't verify range proofs multiple times
6 years ago
Riccardo Spagni
ac5674524a
Revert "Merge pull request #4472"
...
This reverts commit 79d46c4d55
, reversing
changes made to c9fc61dbb5
.
6 years ago
xiphon
02d3ef7bda
blocks: use auto-generated .c files instead of 'LD -r -b binary'
6 years ago
Riccardo Spagni
83d8f03c23
Merge pull request #4333
...
73403004
add --block-notify to monerod and --tx-notify to monero-wallet-{cli,rpc} (moneromooo-monero)
6 years ago
Riccardo Spagni
0645dcdbdb
Merge pull request #4378
...
ac934663
rpc: add a "is an update available" flag in get_info (moneromooo-monero)
6 years ago
moneromooo-monero
341b3931ed
cryptonote_core: warn when the block rate deviates from expectations
...
The warning threshold is set to allow a false positive every
ten days on average.
6 years ago
moneromooo-monero
be001326d1
remove obsolete daemon selection of fake outs and old tx construction
6 years ago
moneromooo-monero
ac9346637a
rpc: add a "is an update available" flag in get_info
...
Make it easier for a user to be told when to update
6 years ago
moneromooo-monero
5ffb2ff9b7
v8: per byte fee, pad bulletproofs, fixed 11 ring size
6 years ago
moneromooo-monero
c444b1b229
require canonical multi output bulletproof layout
6 years ago
moneromooo-monero
2a8fcb421b
Bulletproof aggregated verification and tests
...
Also constrains bulletproofs to simple rct, for simplicity
6 years ago
moneromooo-monero
bacf0a1e2f
bulletproofs: add aggregated verification
...
Ported from sarang's java code
6 years ago
moneromooo-monero
b278b83860
core: sync database based on bytes added, not blocks added
...
Blocks have a very wide range, whereas actual size is the relevant
quantity to consider when syncing
6 years ago
luigi1111
025187e6c9
Merge pull request #3854
...
149da42
db_lmdb: enable batch transactions by default (stoffu)
34cb6b4
add --regtest and --fixed-difficulty for regression testing (vicsn)
9e1403e
update get_info RPC and bump RPC version (vicsn)
207b66e
first new functional tests (vicsn)
6 years ago
victorsintnicolaas
34cb6b4b70
add --regtest and --fixed-difficulty for regression testing
...
on_generateblocks RPC call combines functionality from the on_getblocktemplate and on_submitblock RPC calls to allow rapid block creation. Difficulty is set permanently to 1 for regtest.
Makes use of FAKECHAIN network type, but takes hard fork heights from mainchain
Default reserve_size in generate_blocks RPC call is now 1. If it is 0, the following error occurs 'Failed to calculate offset for'.
Queries hard fork heights info of other network types
6 years ago
moneromooo-monero
2771a18e85
threadpool: allow leaf functions to run concurrently
...
Decrease the number of worker threads by one to account
for the fact the calling thread acts as a worker thread now
6 years ago
moneromooo-monero
a830db2577
rpc: rework to avoid repeated calculations in get_blocks.bin
6 years ago
moneromooo-monero
ed2c81ed95
replace std::list with std::vector on some hot paths
...
also use reserve where appropriate
6 years ago
luigi1111
50bc95519e
Merge pull request #3828
...
16e209e
core: lock incoming tx lock when checking the txpool and chain (moneromooo-monero)
6 years ago
luigi1111
cfd66dae4b
Merge pull request #3691
...
db55263
threadpool: allow constructing an object, and misc tweaks (moneromooo-monero)
ce173cb
core: remove threadpool dependency from header (moneromooo-monero)
3147468
unit_tests: add threadpool unit test (moneromooo-monero)
6 years ago
luigi1111
22c8730261
Merge pull request #3450
...
3b941be
core: add get_earliest_ideal_height_for_version() (stoffu)
6 years ago
luigi1111
a7ea14dc6a
Merge pull request #3876
...
740da1b
core: fix automatic safe db sync mode switching (moneromooo-monero)
e942d34
protocol: do not switch to unsafe sync mode for just a few blocks (moneromooo-monero)
6 years ago
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
...
This bumps DB version to 2, migration code will run for v1 DBs
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
...
This gets rid of an innocuous race trying to add the same tx
twice to the txpool
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
...
57c0b1ed
Fix typos in various files (Dimitris Apostolou)
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
...
An udpate may or may not be available now, but should be soon if not.
This will prevent too many people freaking out.
6 years ago
Riccardo Spagni
6198c816b1
Merge pull request #3170
...
b3b2d4d2
options: add testnet option dependencies (whythat)
c5f55bb4
common: implement dynamic option dependencies mechanism (whythat)
05a12ccc
options: remove testnet-* options (whythat)
c33cb60e
common: implement dependent option descriptor (whythat)
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
...
ba6d2975
cryptonote_core: add --disable-dns-checkpoints flag (moneromooo-monero)
6 years ago
xmr-eric
18216f19dd
Update 2018 copyright
6 years ago
moneromooo-monero
ba6d2975bc
cryptonote_core: add --disable-dns-checkpoints flag
7 years ago
Riccardo Spagni
b38f6dcf0b
Merge pull request #2929
...
ae55bacd
resumption support for updates using range requests (moneromooo-monero)
fe0fae50
epee: add a get_file_size function (moneromooo-monero)
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
...
43f5269f
Wallets now do not depend on the daemon rpc lib (moneromooo-monero)
bb89ae8b
move connection_basic and network_throttle from src/p2p to epee (moneromooo-monero)
4abf25f3
cryptonote_core does not depend on p2p anymore (moneromooo-monero)
7 years ago
moneromooo-monero
4abf25f3c9
cryptonote_core does not depend on p2p anymore
...
As a followon side effect, this makes a lot of inline code
included only in particular cpp files (and instanciated
when necessary.
7 years ago
moneromooo-monero
09ce03d612
move includes around to lessen overall load
7 years ago
Riccardo Spagni
8da24c2a57
Merge pull request #2878
...
abebe392
rpc: add offline state in info rpc (moneromooo-monero)
7696e849
core: make --offline also disable DNS lookups (moneromooo-monero)
7 years ago
Riccardo Spagni
7998ffc26b
Merge pull request #2871
...
2b0a32f8
Small cleanup of daemon synchronization output (xmr-eric)
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
...
Add period to second sentence
7 years ago
Cifrado
287dde63d8
Added command descriptions
7 years ago
Riccardo Spagni
ed2fc4a1ff
Merge pull request #2794
...
43f27c7d
core: warn when free disk space is low (moneromooo-monero)
7 years ago
Riccardo Spagni
edebe4e3b6
Merge pull request #2736
...
0d9c0db9
Do not build against epee_readline if it was not built (Howard Chu)
178014c9
split off readline code into epee_readline (moneromooo-monero)
a9e14a19
link against readline only for monerod and wallet-wallet-{rpc,cli} (moneromooo-monero)
437421ce
wallet: move some scoped_message_writer calls from the libs (moneromooo-monero)
e89994e9
wallet: rejig to avoid prompting in wallet2 (moneromooo-monero)
ec5135e5
move input_line from command_line to simplewallet (moneromooo-monero)
082db75f
move cryptonote command line options to cryptonote_core (moneromooo-monero)
7 years ago
moneromooo-monero
082db75f28
move cryptonote command line options to cryptonote_core
...
Those have no reason to be in a generic module
7 years ago
moneromooo-monero
383ff4f689
remove "using namespace std" from headers
...
It's nasty, and actually breaks on Solaris, where if.h fails to
build due to:
struct map *if_memmap;
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
...
This patch allows to filter out sensitive information for queries that rely on the pool state, when running in restricted mode.
This filtering is only applied to data sent back to RPC queries. Results of inline commands typed locally in the daemon are not affected.
In practice, when running with `--restricted-rpc`:
* get_transaction_pool will list relayed transactions with the fields "last relayed time" and "received time" set to zero.
* get_transaction_pool will not list transaction that have do_not_relay set to true, and will not list key images that are used only for such transactions
* get_transaction_pool_hashes.bin will not list such transaction
* get_transaction_pool_stats will not count such transactions in any of the aggregated values that are computed
The implementation does not make filtering the default, so developers should be mindful of this if they add new RPC functionality.
Fixes #2590 .
7 years ago
Riccardo Spagni
344c01c712
Merge pull request #2638
...
529a6a4a
core: guard against a mined block not finding all txes in the pool (moneromooo-monero)
7 years ago
Riccardo Spagni
d8bc28cc36
Merge pull request #2552
...
69ce33f2
core: fix failure to sync when a tx is already in the pool (moneromooo-monero)
7 years ago
Riccardo Spagni
5ea20d6944
Merge pull request #2469
...
7adceee6
precomputed block hashes are now in blocks of N (currently 256) (moneromooo-monero)
7 years ago
moneromooo-monero
529a6a4af8
core: guard against a mined block not finding all txes in the pool
...
This can happen for several reasons, but mainly if another block
was received, which took that tx off the pool.
7 years ago
Riccardo Spagni
87d0516f7d
Merge pull request #2513
...
309290d1
Source updates are in a source subdirectory (moneromooo-monero)
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
...
7f2f6ee1
protocol: remove hop count on block propagation (moneromooo-monero)
7 years ago
moneromooo-monero
b5faac5304
get_blockchain_top now returns void
...
It was always returning true, and could not be foreseen to
usefully return errors in the future. This silences CID 162652
as well as saves some checking code in a few places.
7 years ago
moneromooo-monero
309290d1c7
Source updates are in a source subdirectory
...
rather than in the same directory as the prebuilt versions
7 years ago
moneromooo-monero
7adceee634
precomputed block hashes are now in blocks of N (currently 256)
...
This shaves a lot of space off binaries
7 years ago
Riccardo Spagni
1a73843cec
Merge pull request #2446
...
6d0ca7d1
Tweak concurrency limits (Howard Chu)
510d0d47
Use a threadpool (Howard Chu)
7 years ago
Riccardo Spagni
591e53445b
Merge pull request #2044
...
0299cb77
Fix various oversights/bugs in ZMQ RPC server code (Thomas Winget)
77986023
json serialization for rpc-relevant monero types (Thomas Winget)
5c1e08fe
Refactor some things into more composable (smaller) functions (Thomas Winget)
9ac2ad07
DRY refactoring (Thomas Winget)
7 years ago
moneromooo-monero
7f2f6ee1c9
protocol: remove hop count on block propagation
...
It is unused, as it was apparently a future optimization,
and it leaks some information (though since pools publish
thei blocks they find, that amount seems small).
7 years ago
Howard Chu
510d0d4753
Use a threadpool
...
Instead of constantly creating and destroying threads
7 years ago
Riccardo Spagni
7abdba0a5c
Merge pull request #2438
...
9443eec1
core: guard against exceptions in tx verification worker threads (moneromooo-monero)
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
...
Structured {de-,}serialization methods for (many new) types
which are used for requests or responses in the RPC.
New types include RPC requests and responses, and structs which compose
types within those.
# Conflicts:
# src/cryptonote_core/blockchain.cpp
7 years ago
moneromooo-monero
6ac61100a1
Add a --fluffy-blocks option to relay blocks as fluffy blocks
...
Defaults to off, but fluffy blocks are forced enabled on testnet
7 years ago
Riccardo Spagni
1e57e48342
Merge pull request #2372
...
c867357a
cryptonote_protocol: error handling on cleanup_handle_incoming_blocks (moneromooo-monero)
ce901fcb
Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocks (moneromooo-monero)
84fa015e
core: guard against exceptions in handle_incoming_{block,tx} (moneromooo-monero)
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}
...
When one happens, cleanup must be called or the incoming tx
lock will stay locked
7 years ago
moneromooo-monero
a95e460c71
move db specific options to BlockchainDB
...
Avoids common depending on blockchain_db, which can cause
link errors.
7 years ago
Riccardo Spagni
36b978f50e
Merge pull request #2314
...
c22d22e2
Cleanup test impact of adding safesyncmode() method (Howard Chu)
9a859844
Toggle SAFE syncmode on and off automatically (Howard Chu)
7 years ago
Riccardo Spagni
ff0afc196e
Merge pull request #2313
...
3dd34a49
Cleanup test impact of moving blockchain_db_types() (Howard Chu)
80344740
More DB support cleanup (Howard Chu)
4c7f8ac0
DB cleanup (Howard Chu)
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
...
If monerod is started with default sync mode, set it to SAFE after
synchronization completes. Set it back to FAST if synchronization
restarts (e.g. because another peer has a longer blockchain).
If monerod is started with an explicit sync mode, none of this
automation takes effect.
7 years ago
Howard Chu
4c7f8ac04f
DB cleanup
...
Hide LMDB-specific stuff behind blockchain_db.h. Nobody besides blockchain_db.cpp
should ever be including DB-specific headers any more.
7 years ago
Riccardo Spagni
4466b6d1b0
Merge pull request #2303
...
5a283078
cryptonote_protocol: large block sync size before v4 (moneromooo-monero)
7b747607
cryptonote_protocol: kick idle synchronizing peers (moneromooo-monero)
7 years ago
Riccardo Spagni
4b2cc123ff
Merge pull request #2287
...
827afcb7
protocol: pass blockchain cumulative difficulty when syncing (moneromooo-monero)
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
...
Not used yet.
7 years ago
Riccardo Spagni
3ff67323b7
Merge pull request #2288
...
c6e200a8
core: add --db-salvage command line flag (moneromooo-monero)
7 years ago
moneromooo-monero
c6e200a8ab
core: add --db-salvage command line flag
...
Use to load the database when the primary meta page is corrupted
7 years ago
moneromooo-monero
a1891ebea9
tests: fix tests build
...
Add get_fork_version and add_ideal_fork_version to core so
cryptonote_protocol does not have to need the Blockchain
class directly, as it's not in its dependencies, and add
those to the fake core classes in tests too.
7 years ago
Riccardo Spagni
62610a3a53
Merge pull request #2225
...
5d91b26c
blockchain: skip checking tx semantics in embedded block hash range (moneromooo-monero)
7 years ago
moneromooo-monero
38756d00ff
core: new API to disable DNS checkpoint lookups
7 years ago
Riccardo Spagni
6db8a60a18
Merge pull request #2149
...
158c3ecf
core: thread most of handle_incoming_tx (moneromooo-monero)
f57ee382
cryptonote_protocol: retry stale spans early (moneromooo-monero)
90df52e1
cryptonote_protocol: light cleanup (moneromooo-monero)
84e23156
cryptonote_protocol: avoid spurious SYNCHRONIZED OK messages (moneromooo-monero)
5be43fcd
cryptonote_protocol_handler: sync speedup (moneromooo-monero)
7 years ago
Riccardo Spagni
9b3b7f050b
Merge pull request #2230
...
5dd722be
core: add a message when loading checkpoints at init time (moneromooo-monero)
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
...
This uses DNS, which can take a while, so it's useful to know
this is the culprit when loading pauses
7 years ago
moneromooo-monero
5d91b26c0f
blockchain: skip checking tx semantics in embedded block hash range
...
If the txes are bad, this'll be picked up by the block hash mismatch
since the tx merkle root is part of the block hash.
7 years ago
moneromooo-monero
a5031a7d02
core: forbid duplicate ring members from v6
...
This avoids someone adding what amounts to mixin 0 rings in
practice, as there is no other good reason to allow this.
7 years ago
moneromooo-monero
0722aea3df
cryptonote_core: initialize checkpoint flag
7 years ago
Riccardo Spagni
3d397325bf
Merge pull request #2063
...
d17c0fc2
Don't copy blockchain for coinbase_tx_sum (Howard Chu)
7 years ago
Howard Chu
5414970dcd
Speedup print_pool_stats
...
Since we're just counting txs, there's no reason to deserialize all the blobs.
7 years ago
Howard Chu
d17c0fc2d0
Don't copy blockchain for coinbase_tx_sum
...
Changed Blockchain::for_all_blocks() to for_blocks_range()
Operate on blockchain in-place instead of building a copy first.
7 years ago
Riccardo Spagni
907ce14b18
Merge pull request #2026
...
a5739201
Update sync time copy (xmr-eric)
7 years ago
Riccardo Spagni
545e2b003c
Merge pull request #1982
...
b52abd13
Move txpool to the database (moneromooo-monero)
7 years ago
moneromooo-monero
b52abd1370
Move txpool to the database
...
Integration could go further (ie, return_tx_to_pool calls should
not be needed anymore, possibly other things).
poolstate.bin is now obsolete.
7 years ago
xmr-eric
a57392016b
Update sync time copy
7 years ago
assylias
bff90264b8
Add expected total reward to RPC "getblocktemplate".
...
Only works from V5 fork onward - returns 0 before that block.
7 years ago
moneromooo-monero
558cfc31ca
core, wallet: faster tx pool scanning
...
Includes a new RPC to get tx pool hashes fast.
7 years ago
moneromooo-monero
a6f1d8fc4c
core: call {prepare|cleanup}_handle_incoming_blocks when adding a mined block
...
This ensures that a batch can't also be started/stopped out of
sync by another thread and us getting in the middle
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
...
This is to prevent unbounded memory use. Since I don't think there
is a container that has quick insert, quick lookup, and automatic
FIFO, I use two and swap every N, clearing the oldest one.
7 years ago
moneromooo-monero
5901331669
updates: remove testnet case
...
It need not be any different
7 years ago
moneromooo-monero
822577eb42
updates: we now have a user URL, and an automatic one
...
So the user can use https, while the automatic does not have to
7 years ago
moneromooo-monero
9f17b1a30f
updates: s/monerod/monero/ for the main download
...
Also print download success message as global log
7 years ago
Riccardo Spagni
1a4298685a
Merge pull request #1766
...
72deb484
updated fallback nodes (Riccardo Spagni)
33329f5b
update version to 0.10.2 (Riccardo Spagni)
04a50a7e
update checkpoints.dat (Riccardo Spagni)
c3599fa7
update copyright year, fix occasional lack of newline at line end (Riccardo Spagni)
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
...
You're wondering how this fixes core tests, aren't you...
It prevents the miner (initialized by cryptonote::core) from
breaking trying to access arguments that were not added.
Since the tests don't use the miner directly, it makes more
sense to have cryptonote_core add those, since it also uses
the miner.
7 years ago
moneromooo-monero
e74b3ab5f7
core: add p2p bind port options from net_node
...
They're now used by core to determine the data directory to use
for the txpool directory.
This fixes an assert in the core tests, which don't use the RPC
server, which normally initializes the P2P code.
7 years ago
Riccardo Spagni
49efd3add9
Merge pull request #1727
...
0288310e
blockchain_db: add "raw" blobdata getters for block and transaction (moneromooo-monero)
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
...
It just checks and prints a message if there is a new version
for now.
7 years ago
Howard Chu
bed2d9f231
Get rid of directory lock
...
We don't need it any more. Fixes issue #1633
7 years ago
moneromooo-monero
0288310e3b
blockchain_db: add "raw" blobdata getters for block and transaction
...
This speeds up operations such as serving blocks to syncing peers
7 years ago