moneromooo-monero
9209880e9c
add a sanity check to RPC input data size
...
reported by m31007
2 years ago
Jeffrey
40f02f9d73
Add Include statements
2 years ago
moneromooo-monero
b030f20751
Fee changes from ArticMine
...
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
2 years ago
luigi1111
0eb1b570b6
Merge pull request #8197
...
da9aa1f
Copyright: Update to 2022 (mj-xmr)
2 years ago
luigi1111
50410d1f7d
Merge pull request #7937
...
83bb027
Make RPC server functions that read db thread safe (j-berman)
2 years ago
j-berman
83bb02745a
Make RPC server functions that read db thread safe
...
- 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
2 years ago
mj-xmr
da9aa1f7f8
Copyright: Update to 2022
2 years ago
tobtoht
5e201fedc5
rpc: add explicit restricted flag to /get_info
2 years ago
luigi1111
55fc2335a4
Merge pull request #7943
...
3a90be4
rpc: don't set error code as status string (selsta)
2 years ago
luigi1111
105e2304a2
Merge pull request #8083
...
e8e507f
rpc: fix DoS vector in get_output_distribution (moneromooo-monero)
2 years ago
Howard Chu
0221b01519
Add calcpow RPC
...
Calculate PoW hash for a block candidate
3 years ago
moneromooo-monero
e8e507f36f
rpc: fix DoS vector in get_output_distribution
...
This will prevent people spending old pre-rct outputs using a
stranger's node, which may be a good thing
3 years ago
luigi1111
a6367693c7
Merge pull request #7960
...
2e8936f
rpc: Fix get_transactions failing when not found (Nathan Dorfman)
3 years ago
luigi1111
298c9a357f
Merge pull request #7891
...
dfee15e
RPC and ZeroMQ APIs to support p2pool (SChernykh)
3 years ago
Nathan Dorfman
2e8936f614
rpc: Fix get_transactions failing when not found
3 years ago
selsta
3a90be4bd6
rpc: don't set error code as status string
3 years ago
SChernykh
dfee15eee1
RPC and ZeroMQ APIs to support p2pool
...
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
3 years ago
luigi1111
7848a467c5
Merge pull request #7616
...
4ced092
daemon: allow proxy configuration (anon, selsta, tobtoht)
3 years ago
anon
4ced092aae
daemon: allow proxy configuration
...
Co-authored-by: selsta <selsta@sent.at>
Co-authored-by: tobtoht <thotbot@protonmail.com>
3 years ago
luigi1111
a1a3e970f7
Merge pull request #7662
...
4da1112
rpc: send confirmations in get_transactions result (moneromooo-monero)
3 years ago
luigi1111
288e5ec350
Merge pull request #7384
...
494f2e1
rpc: fix some error return codes/status (moneromooo-monero)
3 years ago
luigi1111
2218e23e84
Merge pull request #7002
...
673c6d2
Reduce compilation time of epee/portable_storage_template_helper.h (mj-xmr)
3 years ago
moneromooo-monero
4da1112967
rpc: send confirmations in get_transactions result
...
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
3 years ago
luigi1111
c2bc829cca
Merge pull request #7326
...
cf266d6
bootstrap_daemon: proxy configuration support (xiphon)
3 years ago
mj-xmr
673c6d2d11
Reduce compilation time of epee/portable_storage_template_helper.h
3 years ago
moneromooo-monero
494f2e1c21
rpc: fix some error return codes/status
...
Some RPC return an error string in status, and the code must return
true on error (with a status string).
3 years ago
Lee Clagett
2a20434705
Fix monerod --rpc-ssl disabled
3 years ago
luigi1111
602926fe9d
Merge pull request #7366
...
9867a91
Store RPC SSL key/cert for consistent authentication between runs (Lee Clagett)
3 years ago
luigi1111
8d7c1135b8
Merge pull request #6810
...
19b2283
New add_aux_pow RPC to support merge mining (moneromooo-monero)
3 years ago
Lee Clagett
9867a913dc
Store RPC SSL key/cert for consistent authentication between runs
3 years ago
moneromooo-monero
19b228393f
New add_aux_pow RPC to support merge mining
3 years ago
Kevin Barbour
85db1734e7
Remove unused variables in monero codebase
...
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.
3 years ago
xiphon
cf266d66dd
bootstrap_daemon: proxy configuration support
3 years ago
luigi1111
5c497ed22f
Merge pull request #7112
...
47590fc
rpc: report target height as 0 when synced (moneromooo-monero)
3 years ago
moneromooo-monero
1eb14af1a3
rpc: limit the number of txes for get_blocks.bin
3 years ago
moneromooo-monero
d2fda6c25f
restrict public node checks a little
...
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
3 years ago
moneromooo-monero
5a1ac9c0ef
rpc: add a busy_syncing field to get_info
...
true if and pretty much only if new blocks are being added
3 years ago
moneromooo-monero
d660f22ed1
protocol: drop origin IP if a block fails to verify in sync mode
...
It would otherwise be possible for a peer to send bad blocks,
then disconnect and reconnect again, escaping bans
3 years ago
moneromooo-monero
47590fc80b
rpc: report target height as 0 when synced
...
since it only makes sense when syncing, and it confuses people
3 years ago
Alexander Blair
ce564e7ebf
Merge pull request #7030
...
0363476ee
rpc: get_info - add 'synchronized' field (xiphon)
3 years ago
Alexander Blair
976fcb5985
Merge pull request #7024
...
aaf837cf5
rpc: skip non-synced bootstrap daemons in --no-sync mode too (xiphon)
3 years ago
Alexander Blair
7cd0c64210
Merge pull request #6948
...
65903d2cf
Add rpc-restricted-bind-ip option (Howard Chu)
3 years ago
luigi1111
9945ca7a62
Merge pull request #6960
...
5569a8e
rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P (xiphon)
3 years ago
luigi1111
bb56248acd
Merge pull request #6949
...
aad780b
Fix CLI and unrestricted RPC relay_tx with stempool (Lee Clagett)
3 years ago
luigi1111
7539d4ac74
Merge pull request #6895
...
b49f489
fix next_seed_height regression in getblocktemplate rpc (xnbya)
3 years ago
luigi1111
678237835f
Merge pull request #6892
...
ad7ea2c
core_rpc_server: on_send_raw_tx - fix bootstrap daemon mode check (xiphon)
3 years ago
xiphon
0363476ee3
rpc: get_info - add 'synchronized' field
4 years ago
xiphon
aaf837cf5f
rpc: skip non-synced bootstrap daemons in --no-sync mode too
4 years ago
xiphon
5569a8e426
rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P
4 years ago
Lee Clagett
aad780bcfa
Fix CLI and unrestricted RPC relay_tx with stempool
4 years ago