Commit Graph
6832 Commits
Author SHA1 Message Date
Michal m@lbit Malickiandwowario 0051cbdc73 rpc_private_headers declaration fix 2020-12-04 09:21:52 +03:00
Tadeas Moravecandwowario 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.
2020-12-04 09:20:53 +03:00
selstaandwowario d9973f4d48 wallet2: set propagation timeout to current max timeout 2020-12-04 09:15:25 +03:00
Howard Chuandwowario 2b25b1097e Add rpc-restricted-bind-ip option
Fixes #6369
2020-12-04 09:15:02 +03:00
Crypto Cityandwowario 33103494d6 wallet2: check imported multisig curve points are in main subgroup 2020-11-26 09:36:53 +03:00
xiphonandwowario 6294fe26df cryptonote_core: dandelion - use local height or median height if syncing 2020-11-26 09:36:28 +03:00
xiphonandwowario cc70e33283 rpc: skip non-synced bootstrap daemons in --no-sync mode too 2020-11-26 09:36:05 +03:00
xiphonandwowario 0783e940e9 rpc: on_send_raw_tx - add missing CHECK_CORE_READY 2020-11-26 09:35:38 +03:00
Lee Clagettandwowario 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.
2020-11-26 09:35:17 +03:00
Lee Clagettandwowario ff1373149a Fix timeout checks for forwarded and Dandelion++ stem txes 2020-11-26 09:34:49 +03:00
Howard Chuandwowario 41f5f36e16 Better log message for unusable anon networks 2020-11-26 09:34:06 +03:00
moneromooo-moneroandwowario 4228f785c0 p2p: fix accessing non existent element of map 2020-11-07 10:38:45 +03:00
moneromooo-moneroandwowario 9e86c1c90d p2p: fix endianness when checking IPv6 addresses mapping to IPv4 2020-11-05 20:23:52 +03:00
moneromooo-moneroandwowario c40d8f5672 p2p: make this work with boost <= 1.65 (pffff) 2020-11-05 06:01:12 +03:00
moneromoooandwowario 0f998b9b55 p2p: rewrite boost's make_address_v4 to cater for < 1.66 2020-11-05 05:57:13 +03:00
moneromooo-moneroandwowario 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.
2020-11-05 05:56:48 +03:00
xiphonandwowario 9774fc7868 rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P 2020-11-05 05:56:19 +03:00
moneromoooandwowario c14276fb7c p2p: remove banned peers from the white list 2020-11-05 05:55:52 +03:00
moneromoooandwowario 755c308c23 p2p: give all hosts the same chance of being picked for connecting
even if some run more than one node
2020-11-05 05:55:15 +03:00
Lee Clagettandwowario df5779790c Switch to Dandelion++ fluff mode if no out connections for stem mode 2020-11-05 05:38:33 +03:00
moneromooo-moneroandwowario aae4bf32aa protocol: reject empty incoming block messages 2020-11-05 05:37:56 +03:00
Lee Clagettandwowario d37785db0c Fix tx flush callback queueing 2020-11-05 05:37:26 +03:00
selstaandwowario 2a38ee251a net_node: add --ban-list option 2020-11-05 05:36:13 +03:00
jwinterm e49e6ae142 Merge pull request 'Fix CLI and unrestricted RPC relay_tx with stempool' (#347) from wowario/wownero:relay_tx into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/347
2020-10-30 03:15:03 +00:00
Lee Clagettandwowario 26a64f99d3 Fix CLI and unrestricted RPC relay_tx with stempool 2020-10-29 07:29:00 +03:00
Nathan Dorfmanandwowario e47fbe1476 cryptonote_core: Fix missing override warnings 2020-10-28 16:31:38 +03:00
jwinterm 7bdf566225 Merge pull request 'update version and README' (#339) from wowario/wownero:version into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/339
2020-10-19 18:13:45 +00:00
jwinterm 6b80ac2ae7 Merge pull request 'update checkpoints' (#338) from wowario/wownero:checkpoints into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/338
2020-10-19 18:13:23 +00:00
jwinterm 4d15c0aa13 Merge pull request 'increase fake outs' (#337) from wowario/wownero:fake-outs into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/337
2020-10-19 18:12:58 +00:00
jwinterm 8345e5b7bc Merge pull request 'upstream' (#336) from wowario/wownero:upstream into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/336
2020-10-19 18:12:35 +00:00
wowario 12d81b4af1 update version and README 2020-10-19 20:38:20 +03:00
wowario e2260ab8ab update checkpoints 2020-10-19 20:12:13 +03:00
wowario e28f22ba2f increase fake outs 2020-10-19 19:15:52 +03:00
moneromooo-moneroandwowario cfc8640492 bump default number of connections from 8 to 12 2020-10-19 11:27:03 +03:00
xiphonandwowario 69e41b9d4e wallet2: wait for propagation timeout before marking tx as failed 2020-10-19 11:26:40 +03:00
Howard Chuandwowario bcc824cac3 Allow setting start block on export
And make import honor the starting block# recorded in a bootstrap file
2020-10-19 11:26:05 +03:00
xiphonandwowario 46b4016134 wallet2_api: implement stop() to interrupt refresh() loop once 2020-10-19 11:25:40 +03:00
dscandwowario 8b73fabd2a Allow AddressBook description edits via wallet/api interface 2020-10-14 12:12:44 +03:00
Alexis Enstonandwowario dc0ac9c252 fix next_seed_height regression in getblocktemplate rpc 2020-10-14 12:06:28 +03:00
xiphonandwowario 2051c5f078 core_rpc_server: on_get_blocks - forward bootstrap daemon error 2020-10-14 12:05:46 +03:00
xiphonandwowario b8396218a3 Dandelion++: skip desynced peers in stem phase 2020-10-14 12:04:33 +03:00
moneromooo-moneroandwowario 17c5e8f949 wallet2: fix missing m_state field in wallet serialization 2020-10-14 12:04:04 +03:00
wowario 9a58ac48d2 update checkpoints.dat 2020-09-30 17:01:14 +03:00
wowario 90b7699717 bump version to v0.9.0.2 2020-09-30 16:36:03 +03:00
jwinterm 1917bd3d53 Merge pull request 'change log level find tx meta error' (#334) from wowario/wownero:meta into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/334
2020-09-28 00:56:28 +00:00
jwinterm cb654bbc27 Merge pull request 'fix requested_outputs_count' (#333) from wowario/wownero:outs into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/333
2020-09-28 00:55:58 +00:00
wowario ec60b05faa change log level find tx meta error 2020-09-26 19:50:43 +03:00
jwinterm 58e1f2f02a Merge pull request 'upstream' (#332) from wowario/wownero:upstream into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/332
2020-09-26 14:28:01 +00:00
wowario af941bed58 fix requested_outputs_count
Signed-off-by: wowario <wowario@protonmail.com>
2020-09-26 12:51:05 +03:00
moneromooo-moneroandwowario 83fe535888 fix a couple bugs found by OSS-fuzz
- index out of bounds when importing outputs
- accessing invalid CLSAG data
2020-09-26 07:11:39 +03:00