moneromooo-monero
31d80027b5
tests: add unit tests for get_output_distribution
6 years ago
Riccardo Spagni
23fc891555
Merge pull request #4750
...
e61062b6
use current height - 1 for top block height in err msgs (cryptochangements34)
6 years ago
Riccardo Spagni
ff347c98a1
Merge pull request #4747
...
dad5bbfd
return message in stop_mining if mining never started (cryptochangements34)
6 years ago
Riccardo Spagni
299d75b209
Merge pull request #4735
...
73e504c1
rpc: adjust ring size error message now that too high is also possible (moneromooo-monero)
a5ca7f4f
core: fix unmixable special case allowing ring size below 11 (moneromooo-monero)
6 years ago
Riccardo Spagni
0c7086bf7f
Merge pull request #4687
...
6097472a
Update ZMQ fee estimate and add ZMQ output distribution (Lee Clagett)
6 years ago
cryptochangements34
e61062b6f2
use current height - 1 for top block height in err msgs
6 years ago
cryptochangements34
dad5bbfdf9
return message in stop_mining if mining never started
6 years ago
moneromooo-monero
73e504c139
rpc: adjust ring size error message now that too high is also possible
6 years ago
Lee Clagett
6097472a19
Update ZMQ fee estimate and add ZMQ output distribution
6 years ago
stoffu
e51c978770
rpc: fix wrongly formatted JSON for pruned tx
...
Fix for #4399 .
Also unifies code for serializing pruned tx to binary/json into one.
6 years ago
Riccardo Spagni
9f34a3a29a
Merge pull request #4659
...
b916ca63
rpc: fix output distribution caching ignoring chain changes (moneromooo-monero)
6 years ago
moneromooo-monero
b916ca63a8
rpc: fix output distribution caching ignoring chain changes
...
0 is placeholder for whole chain, so we should compare chain
height changes rather than chain-height-or-zero. Even this isn't
totally foolproof if a blocks are popped and the same number
added again, but it is much better as it prevents the data from
slowly going out of sync.
6 years ago
stoffu
776aefdac1
tx_pool: revert #4592 and move bin2hex conversion to on_get_transaction_pool
6 years ago
AnythingTechPro
9a85669724
rpc: fixed typo in JSON command error response message
6 years ago
Riccardo Spagni
fd74815f65
Merge pull request #4399
...
f77ce675
rpc: allow pruning of json encoded txs (cryptochangements34)
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
Riccardo Spagni
629db71593
Merge pull request #4373
...
4f81cd3a
rpc: add cumulative difficulty in block header data (moneromooo-monero)
6 years ago
Riccardo Spagni
9d0565615c
Merge pull request #4354
...
03c07b16
rpc: return "already mining" in start_mining if already mining (moneromooo-monero)
6 years ago
Riccardo Spagni
0ff0850545
Merge pull request #4344
...
cd647612
rpc: don't include start time if restricted (moneromooo-monero)
6 years ago
cryptochangements34
f77ce675cb
rpc: allow pruning of json encoded txs
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
4f81cd3a3c
rpc: add cumulative difficulty in block header data
6 years ago
moneromooo-monero
5ffb2ff9b7
v8: per byte fee, pad bulletproofs, fixed 11 ring size
6 years ago
moneromooo-monero
03c07b167d
rpc: return "already mining" in start_mining if already mining
6 years ago
moneromooo-monero
cd647612b0
rpc: don't include start time if restricted
6 years ago
luigi1111
9315e12d34
Merge pull request #4033
...
3e46db9
rpc: add a non binary get_transaction_pool_hashes RPC (moneromooo-monero)
6 years ago
luigi1111
3e026ff6ed
Merge pull request #4013
...
e5592c4
rpc: add blockchain disk size to getinfo (moneromooo-monero)
6 years ago
luigi1111
21afa71ba6
Merge pull request #3981
...
45e419b
db: store cumulative rct output distribution in the db for speed (moneromooo-monero)
6 years ago
luigi1111
d518dae4bf
Merge pull request #3973
...
50af357
alt_chain_info can now give more info about a particular alt chain (moneromooo-monero)
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
moneromooo-monero
45e419bd5c
db: store cumulative rct output distribution in the db for speed
...
This gets rid of the temporary precalc cache.
Also make the RPC able to send data back in binary or JSON,
since there can be a lot of data
This bumps the LMDB database format to v3, with migration.
6 years ago
victorsintnicolaas
9e1403e155
update get_info RPC and bump RPC version
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
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
moneromooo-monero
209ec963b5
rpc: sanity check on number of txes in a block
6 years ago
moneromooo-monero
6795bd0d4e
rpc: add option to skip coinbase info in get_blocks.bin
6 years ago
moneromooo-monero
50af3579ee
alt_chain_info can now give more info about a particular alt chain
6 years ago
moneromooo-monero
3e46db97e5
rpc: add a non binary get_transaction_pool_hashes RPC
6 years ago
moneromooo-monero
e5592c4bab
rpc: add blockchain disk size to getinfo
...
This should help new nodes predict how much disk space will be
needed for a full sync
6 years ago
luigi1111
5bfe03804c
Merge pull request #3892
...
d344736
rpc: convert distribution to cumulative after caching (moneromooo-monero)
6 years ago
moneromooo-monero
ab87e7fdae
rpc: the cache is still for non cumulative on that branch
6 years ago
luigi1111
737712c0c6
Merge pull request #3561
...
353e9c0
Core RPC: optionally add POW hash to block_header_response (stoffu)
6 years ago
moneromooo-monero
d3447364d0
rpc: convert distribution to cumulative after caching
...
This avoids double conversion on a later cache hit
6 years ago
moneromooo-monero
b665bab1d6
rpc: fix get_output_distribution cache for the cumulative case
...
The distribution was not converted to cumulative after a cache hit
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
ffeeefde60
speedup get_output_histogram for all amounts when min_count > 0
...
This skips the vast majority of "dust" output amounts with just
one instance on the chain. Clocks in at 0.15% of the original
time on testnet.
6 years ago
Riccardo Spagni
03ff3be10e
Merge pull request #3672
...
875c1cab
wallet2: increase rpc timeout for get_output_distribution (moneromooo-monero)
70f23217
add top height to get_output_distribution, and cache it for rct (moneromooo-monero)
8c7363fb
rpc: add missing perf timer for get_output_distribution (moneromooo-monero)
6 years ago