| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| | |
47d8899 Fix missing checks for IsObject in ZMQ jsonrpc reading (Lee Clagett)
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
842478c core_rpc_server: return ID of submitted block (jeffro256)
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[release-v0.18]
- `/getblocks.bin` respects the `RESTRICTED_TX_COUNT` (=100) when
returning pool txs via a restricted RPC daemon.
- A restricted RPC daemon includes a max of `RESTRICTED_TX_COUNT` txs
in the `added_pool_txs` field, and returns any remaining pool hashes
in the `remaining_added_pool_txids` field. The client then requests
the remaining txs via `/gettransactions` in chunks.
- `/gettransactions` no longer does expensive no-ops for ALL pool txs
if the client requests a subset of pool txs. Instead it searches for
the txs the client explicitly requests.
- Reset `m_pool_info_query_time` when a user:
(1) rescans the chain (so the wallet re-requests the whole pool)
(2) changes the daemon their wallets points to (a new daemon would
have a different view of the pool)
- `/getblocks.bin` respects the `req.prune` field when returning
pool txs.
- Pool extension fields in response to `/getblocks.bin` are optional
with default 0'd values.
|
| |/
|
|
| |
[release-v0.18]
|
| | |
|
| |
|
|
|
|
|
|
|
| |
- 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)
|
| | |/ / |
|