moneromooo-monero
97d3f9d408
protocol: one more sanity check on usable data from a peer
4 years ago
moneromooo-monero
f4fac80752
protocol: add a sanity check to the number of block hashes sent
4 years ago
moneromooo-monero
516555402d
protocol: fix asking for pruned blocks for v10
...
Old format is still alloewd there, this is a two fork update
4 years ago
moneromooo-monero
a42b6750b1
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
moneromooo-monero
09a2b6f2e8
protocol: more restrictive checks on chain entry response
4 years ago
Lee Clagett
0b8bf308ce
Change epee binary output from std::stringstream to byte_stream
4 years ago
moneromooo-monero
eb6469b7a5
protocol: fix switchting to adding blocks if noone's adding the next span
4 years ago
moneromooo-monero
e608cea2a5
p2p: drop peers that spam peer lists
...
There's always some people who just want to abuse things
4 years ago
moneromooo-monero
117cdc4d50
p2p: fix race condition accessing a deleted context
4 years ago
moneromooo
27cfbe1a22
protocol: drop peers that don't reply to queries
4 years ago
moneromooo
f8ec114820
keep only the last seen node on a given host in the white list
4 years ago
moneromooo
0529d350ad
protocol: drop peers that decrease claimed height
4 years ago
moneromooo
868deaaf9e
protocol: add scoring system to drop peers that don't behave
4 years ago
moneromooo-monero
5ac11bb4d6
crypto: fix non zero scalar being 0 after reducing
4 years ago
xiphon
e0fc0ce7ad
rpc: get_info - add 'synchronized' field
4 years ago
Lee Clagett
a840b7e20c
Do not use peer_id tracking method over i2p/tor
4 years ago
Lee Clagett
3208d97f9c
Fix tx flush callback queueing
4 years ago
moneromooo-monero
1cc36a652b
util: fix escaping more than one ?* in glob_to_regex
4 years ago
xiphon
b353da51f9
wallet_api: TransactionHistory - fill unconfirmed out payments dests
4 years ago
Howard Chu
e49f87c8b3
Silence stupid warnings
4 years ago
mj-xmr
5b43b61153
Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr)
...
Add monero_add_minimal_executable and use in tests
This is done in order not to have to relink targets, when just an .so changed, but not its interface.
4 years ago
moneromooo-monero
7f8d14ecde
blockchain: remove some dead code
...
This is already done
4 years ago
SChernykh
67cc83a66c
Make Blockchain::get_fee_quantization_mask() compile time
...
This also removes potential thread safety bug in that function.
4 years ago
xiphon
b974ccde3a
core_rpc_server: on_send_raw_tx - fix bootstrap daemon mode check
4 years ago
Michal m@lbit Malicki
0051cbdc73
rpc_private_headers declaration fix
4 years ago
Tadeas Moravec
7441d939e0
Update error messages in daemon
...
When given a wrong argument, some daemon commands failed with "unknown
command" error, instead of a meaningful error message. This patch
brings consistency into the error messages.
In several places, this patch removes relatively useful messages,
and replaces them with more generic ones. E.g.,
- std::cout << "use: print_pl [white] [gray] [<limit>] [pruned]
[publicrpc]" << std::endl;
+ std::cout << "Invalid syntax: Too many parameters. For more
details, use the help command." << std::endl;
There are two reasons for this:
1. Consistency.
2. Removing duplicates.
The detailed information about the parameters is present in
the help messages already. Having it in two places increases
the risk that the messages would get out of date.
4 years ago
selsta
d9973f4d48
wallet2: set propagation timeout to current max timeout
4 years ago
Howard Chu
2b25b1097e
Add rpc-restricted-bind-ip option
...
Fixes #6369
4 years ago
Crypto City
33103494d6
wallet2: check imported multisig curve points are in main subgroup
4 years ago
xiphon
6294fe26df
cryptonote_core: dandelion - use local height or median height if syncing
4 years ago
xiphon
cc70e33283
rpc: skip non-synced bootstrap daemons in --no-sync mode too
4 years ago
xiphon
0783e940e9
rpc: on_send_raw_tx - add missing CHECK_CORE_READY
4 years ago
Lee Clagett
ce3c13b46f
Change Dandelion++ fluff probability to 20%, and embargo timeout to 39s
...
A 20% fluff probability increases the precision of a spy connected to
every node by 10% on average, compared to a network using 0% fluff
probability. The current value (10% fluff) should increase precision by
~5% compared to baseline.
This decreases the expected stem length from 10 to 5. The embargo
timeout was therefore lowered to 39s; the fifth node in a stem is
expected to have a 90% chance of being the first to timeout, which is
the same probability we currently have with an expected stem length of
10 nodes.
4 years ago
Lee Clagett
ff1373149a
Fix timeout checks for forwarded and Dandelion++ stem txes
4 years ago
Howard Chu
41f5f36e16
Better log message for unusable anon networks
4 years ago
moneromooo-monero
4228f785c0
p2p: fix accessing non existent element of map
4 years ago
moneromooo-monero
9e86c1c90d
p2p: fix endianness when checking IPv6 addresses mapping to IPv4
4 years ago
moneromooo-monero
c40d8f5672
p2p: make this work with boost <= 1.65 (pffff)
4 years ago
moneromooo
0f998b9b55
p2p: rewrite boost's make_address_v4 to cater for < 1.66
4 years ago
moneromooo-monero
38f0472a6e
p2p: use /16 filtering on IPv4-within-IPv6 addresses
...
IPv6 addresses include a range that can map IPv4 addresses,
which allowed those mapped addresses to bypass filtering.
This filter should be replaced by AS filtering at some point.
4 years ago
xiphon
9774fc7868
rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P
4 years ago
moneromooo
c14276fb7c
p2p: remove banned peers from the white list
4 years ago
moneromooo
755c308c23
p2p: give all hosts the same chance of being picked for connecting
...
even if some run more than one node
4 years ago
Lee Clagett
df5779790c
Switch to Dandelion++ fluff mode if no out connections for stem mode
4 years ago
moneromooo-monero
aae4bf32aa
protocol: reject empty incoming block messages
4 years ago
Lee Clagett
d37785db0c
Fix tx flush callback queueing
4 years ago
selsta
2a38ee251a
net_node: add --ban-list option
4 years ago
jwinterm
e49e6ae142
Merge pull request 'Fix CLI and unrestricted RPC relay_tx with stempool' ( #347 ) from wowario/wownero:relay_tx into master
...
Reviewed-on: #347
4 years ago
Lee Clagett
26a64f99d3
Fix CLI and unrestricted RPC relay_tx with stempool
4 years ago
Nathan Dorfman
e47fbe1476
cryptonote_core: Fix missing override warnings
4 years ago