wowario
8180febd4a
add vote rpc res
3 years ago
wowario
30a41c2ab1
vote by block
3 years ago
wowario
7f7d697f43
miner block header signing
3 years ago
wowario
952b0492d9
initial commit
3 years ago
moneromooo-monero
218a109677
rpc: limit the number of txes for get_blocks.bin
3 years ago
Alexander Blair
cbeaeb904b
Merge pull request #7174
...
5c3e84b6a
restrict public node checks a little (moneromooo-monero)
3 years ago
xiphon
07b50c42dd
rpc: get_info - add 'synchronized' field
3 years ago
moneromooo-monero
5c3e84b6ae
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
a4cdcd9bd0
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
d729730d38
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
4 years ago
Alexander Blair
065bb292df
Merge pull request #7010
...
a8cd073fc
Add rpc-restricted-bind-ip option (Howard Chu)
4 years ago
Alexander Blair
41652c9aa1
Merge pull request #7040
...
af4fb4729
rpc: skip non-synced bootstrap daemons in --no-sync mode too (xiphon)
4 years ago
xiphon
af4fb4729e
rpc: skip non-synced bootstrap daemons in --no-sync mode too
4 years ago
xiphon
8e829e034f
rpc: on_send_raw_tx - add missing CHECK_CORE_READY
4 years ago
Howard Chu
a8cd073fcc
Add rpc-restricted-bind-ip option
...
Fixes #6369
4 years ago
luigi1111
7fa01f342c
Merge pull request #6966
...
42403c7
Fix CLI and unrestricted RPC relay_tx with stempool (vtnerd)
4 years ago
xiphon
d6953406c9
rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P
4 years ago
Lee Clagett
42403c7acc
Fix CLI and unrestricted RPC relay_tx with stempool
4 years ago
luigi1111
4d855fcca7
Merge pull request #6894
...
e49ad98
fix next_seed_height regression in getblocktemplate rpc (xnbya)
4 years ago
xiphon
4cf3545a31
core_rpc_server: on_get_blocks - forward bootstrap daemon error
4 years ago
Alexis Enston
e49ad98a9b
fix next_seed_height regression in getblocktemplate rpc
4 years ago
TheCharlatan
80e535c95a
wallet2: adapt to deterministic unlock time
4 years ago
moneromooo-monero
5498142e8f
rpc: assume randomx from v13 onwards
4 years ago
Riccardo Spagni
aefa7740c3
Merge pull request #6111
...
d20ff4f64
functional_tests: add a large (many randomx epochs) p2p reorg test (moneromooo-monero)
6a0b3b1f8
functional_tests: add randomx tests (moneromooo-monero)
9d42649d5
core: fix mining from a block that's not the current top (moneromooo-monero)
4 years ago
luigi1111
a51ccc036f
Merge pull request #6770
...
bdc6b10
Fix ZMQ pruned bulletproof transactions (vtnerd)
4 years ago
moneromooo-monero
9d42649d58
core: fix mining from a block that's not the current top
4 years ago
moneromooo-monero
82ee01699c
Integrate CLSAGs into monero
...
They are allowed from v12, and MLSAGs are rejected from v13.
4 years ago
Alexander Blair
27b49033fd
Merge pull request #6763
...
728ba38b1
rpc: always send raw txes through P2P (don't use bootstrap daemon) (xiphon)
4 years ago
Lee Clagett
bdc6b10d62
Fix ZMQ pruned bulletproof transactions
4 years ago
moneromooo-monero
7175dcb107
replace most boost serialization with existing monero serialization
...
This reduces the attack surface for data that can come from
malicious sources (exported output and key images, multisig
transactions...) since the monero serialization is already
exposed to the outside, and the boost lib we were using had
a few known crashers.
For interoperability, a new load-deprecated-formats wallet
setting is added (off by default). This allows loading boost
format data if there is no alternative. It will likely go
at some point, along with the ability to load those.
Notably, the peer lists file still uses the boost serialization
code, as the data it stores is define in epee, while the new
serialization code is in monero, and migrating it was fairly
hairy. Since this file is local and not obtained from anyone
else, the marginal risk is minimal, but it could be migrated
later if needed.
Some tests and tools also do, this will stay as is for now.
4 years ago
Alexander Blair
d73b1b6560
Merge pull request #6727
...
13eee1d6a
rpc: reject wrong sized txid (moneromooo-monero)
92e6b7df2
easylogging++: fix crash with reentrant logging (moneromooo-monero)
6dd95d530
epee: guard against exceptions in RPC handlers (moneromooo-monero)
90016ad74
blockchain: guard against exceptions in add_new_block/children (moneromooo-monero)
4 years ago
Alexander Blair
569d07d60b
Merge pull request #6722
...
c1b03fb1a
rpc: return empty txid get_outs rather than 00..00 when not requested (moneromooo-monero)
4 years ago
Alexander Blair
a08df6eb1b
Merge pull request #6603
...
4e2377995
Change ZMQ-JSON txextra to hex and remove unnecessary base fields (Lee Clagett)
4 years ago
xiphon
728ba38b11
rpc: always send raw txes through P2P (don't use bootstrap daemon)
...
It turns out that some remote (bootstrap) nodes silently drop /
don't broadcast client's transactions.
4 years ago
Lee Clagett
4e2377995d
Change ZMQ-JSON txextra to hex and remove unnecessary base fields
4 years ago
Lee Clagett
60627c9f24
Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster
4 years ago
Lee Clagett
fe96e66ebe
Fix pruned tx for ZMQ's GetBlocksFast
4 years ago
moneromooo-monero
13eee1d6ab
rpc: reject wrong sized txid
...
Reporter requested credit to be given to Decred
4 years ago
moneromooo-monero
c1b03fb1a6
rpc: return empty txid get_outs rather than 00..00 when not requested
...
It's more obvious there's no txid, and it saves space
4 years ago
Alexander Blair
a0d179e528
Merge pull request #6512
...
5ef0607da
Update copyright year to 2020 (SomaticFanatic)
4 years ago
luigi1111
e8d87fccc2
Merge pull request #6627
...
4df8f9c
rpc: fix loading rpc payment data from file (moneromooo-monero)
4 years ago
luigi1111
0376195015
Merge pull request #6611
...
dc1a053
rpc: fix comparison of seconds vs microseconds (moneromooo-monero)
4 years ago
luigi1111
3057f52f89
Merge pull request #6599
...
6e4a55b
rpc: fix relay_tx error return mixup (moneromooo-monero)
9b86e14
functional_tests: add simple relay_tx test (moneromooo-monero)
4 years ago
luigi1111
be170c485c
Merge pull request #6584
...
78d435a
rpc: don't display invalid json errors on default log level (moneromooo-monero)
4 years ago
luigi1111
8b3fa2d373
Merge pull request #6574
...
7ebb351
rpc: lock access to the rpc payment object (moneromooo-monero)
4 years ago
luigi1111
ff4d470629
Merge pull request #6576
...
4d3c2d0
rpc: add a sanity limit to a few RPC in restricted mode (moneromooo-monero)
4 years ago
moneromooo-monero
4df8f9c414
rpc: fix loading rpc payment data from file
...
Got broken after making one of those micro optimizations requested on review..
4 years ago
Lee Clagett
7aeb503547
Fix boost <1.60 compilation and fix boost 1.73+ warnings
4 years ago
moneromooo-monero
dc1a053081
rpc: fix comparison of seconds vs microseconds
4 years ago
moneromooo-monero
6e4a55ba7e
rpc: fix relay_tx error return mixup
4 years ago