| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
| |
- Straight-forward call interface: `void rx_slow_hash(const char *seedhash, const void *data, size_t length, char *result_hash)`
- Consensus chain seed hash is now updated by calling `rx_set_main_seedhash` whenever a block is added/removed or a reorg happens
- `rx_slow_hash` will compute correct hash no matter if `rx_set_main_seedhash` was called or not (the only difference is performance)
- New environment variable `MONERO_RANDOMX_FULL_MEM` to force use the full dataset for PoW verification (faster block verification)
- When dataset is used for PoW verification, dataset updates don't stall other threads (verification is done in light mode then)
- When mining is running, PoW checks now also use dataset for faster verification
|
| | |
|
| | |
|
| |
|
|
|
| |
This reverts commit 50410d1f7d04bf60053f2263410c39e81d3ddad1, reversing
changes made to d054def63f9b8950fe20b2d8e841f5a9ae09418f.
|
| |
|
|
|
| |
While copying my data dir to another drive, I missed copying the rpc_ssl.key file b/c of the file permissions.
This change will give a much more clear, descriptive error in that scenario.
|
| |
|
|
| |
reported by m31007
|
| | |
|
| |
|
|
|
|
| |
https://github.com/ArticMine/Monero-Documents/blob/master/MoneroScaling2021-02.pdf
with a change to use 1.7 instead of 2.0 for the max long term increase rate
|
| |\
| |
| |
| | |
da9aa1f Copyright: Update to 2022 (mj-xmr)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
83bb027 Make RPC server functions that read db thread safe (j-berman)
|
| | | |
| | |
| | |
| | |
| | |
| | | |
- grab an lmdb db_rtxn_guard to ensure consistent data from the db
- fixed on_getblockhash error resp when requested height >= blockchain height
- left functions that read shared memory untouched for now
|
| |\ \ \
| | | |
| | | |
| | | | |
9bde2db Fixes: Don't require --rpc-login with --rpc-access-control-origins #8168 (Jeffrey)
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
This PR removes the requirement for --rpc-login to be specified if --rpc-access-control-origins is.
This will allow public nodes to serve cross-origin requests. You can still use --rpc-login with
--rpc-access-control-origins, but it is no longer mandatory.
Original Issue: #8168
|
| |/ / |
|
| |\ \
| | |
| | |
| | | |
3a90be4 rpc: don't set error code as status string (selsta)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
e8e507f rpc: fix DoS vector in get_output_distribution (moneromooo-monero)
|
| | | |
| | |
| | |
| | |
| | | |
This will prevent people spending old pre-rct outputs using a
stranger's node, which may be a good thing
|
| |/ /
| |
| |
| | |
Calculate PoW hash for a block candidate
|
| |\ \
| | |
| | |
| | | |
2e8936f rpc: Fix get_transactions failing when not found (Nathan Dorfman)
|
| | |/ |
|
| |\ \
| |/
|/|
| | |
dfee15e RPC and ZeroMQ APIs to support p2pool (SChernykh)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds the following:
- "get_miner_data" to RPC API
- "json-miner-data" to ZeroMQ subscriber contexts
Both provide the necessary data to create a custom block template. They are used by p2pool.
Data provided:
- major fork version
- current height
- previous block id
- RandomX seed hash
- network difficulty
- median block weight
- coins mined by the network so far
- mineable mempool transactions
|
| |\ \
| |/
|/|
| | |
4ced092 daemon: allow proxy configuration (anon, selsta, tobtoht)
|
| | |
| |
| |
| |
| | |
Co-authored-by: selsta <selsta@sent.at>
Co-authored-by: tobtoht <thotbot@protonmail.com>
|
| | | |
|
| |\ \
| | |
| | |
| | | |
08e4497 Improve cryptonote (block and tx) binary read performance (Lee Clagett)
|
| | |/ |
|
| |\ \
| |/
|/|
| | |
4da1112 rpc: send confirmations in get_transactions result (moneromooo-monero)
|
| | |
| |
| |
| |
| | |
if the wallet does it, it would get a wrong result (possibly even
negative) if its local chain is not synced up to the daemon's yet
|
| |\ \
| | |
| | |
| | | |
494f2e1 rpc: fix some error return codes/status (moneromooo-monero)
|
| | | |
| | |
| | |
| | |
| | | |
Some RPC return an error string in status, and the code must return
true on error (with a status string).
|
| |\ \ \
| |_|/
|/| |
| | | |
673c6d2 Reduce compilation time of epee/portable_storage_template_helper.h (mj-xmr)
|
| | | | |
|
| |\ \ \
| |/ /
|/| |
| | | |
cf266d6 bootstrap_daemon: proxy configuration support (xiphon)
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | | |
9867a91 Store RPC SSL key/cert for consistent authentication between runs (Lee Clagett)
|
| | | |/
| |/| |
|
| |\ \ \
| | | |
| | | |
| | | | |
19b2283 New add_aux_pow RPC to support merge mining (moneromooo-monero)
|
| | |/ / |
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There are quite a few variables in the code that are no longer
(or perhaps never were) in use. These were discovered by enabling
compiler warnings for unused variables and cleaning them up.
In most cases where the unused variables were the result
of a function call the call was left but the variable
assignment removed, unless it was obvious that it was
a simple getter with no side effects.
|
| |\ \
| |/
|/|
| | |
47590fc rpc: report target height as 0 when synced (moneromooo-monero)
|
| | |
| |
| |
| | |
since it only makes sense when syncing, and it confuses people
|
| | | |
|
| | |
| |
| |
| |
| | |
do not include blocked hosts in peer lists or public node lists by default,
warn about no https on clearnet and about untrusted peers likely being spies
|
| | |
| |
| |
| | |
true if and pretty much only if new blocks are being added
|
| |/
|
|
|
| |
It would otherwise be possible for a peer to send bad blocks,
then disconnect and reconnect again, escaping bans
|