| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
0e7ad2e2 Wallet API: generalize 'bool testnet' to 'NetworkType nettype' (stoffu)
af773211 Stagenet (stoffu)
cc9a0bee command_line: allow args to depend on more than one args (stoffu)
55f8d917 command_line::get_arg: remove 'required' for dependent args as they're always optional (stoffu)
450306a0 command line: allow has_arg to handle arg_descriptor<bool,false,true> #3318 (stoffu)
9f9e095a Use `genesis_tx` parameter in `generate_genesis_block`. #3261 (Jean Pierre Dudey)
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
928c1825 cryptonote_protocol: guard against all threads in standby (moneromooo-monero)
|
| | | |
|
| |\ \
| |/
|/|
| | |
e3f0980a daemon: don't drop RPC with busy error when running offline (moneromooo-monero)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
7ed62e63 cryptonote_protocol: fix std::move usage on different types (moneromooo-monero)
|
| | | | |
|
| | | | |
|
| |/ / |
|
| |\ \
| | |
| | |
| | | |
b56f4645 cryptonote_protocol: fix size_t used in wire format (moneromooo-monero)
|
| | |/
| |
| |
| | |
This is 32 bits on 32 bit platforms, but 64 bits on 64 bit platforms.
|
| |\ \
| | |
| | |
| | | |
69f9a075 cryptonote_protocol: fix missing space in version mismatch message (moneromooo-monero)
|
| | | | |
|
| |\ \ \
| |_|/
|/| |
| | | |
f06603a4 cryptonote_protocol: update target height when receiving blocks (moneromooo-monero)
|
| | |/ |
|
| |\ \
| |/
|/|
| | |
a2c845c7 cryptonote_protocol: internal error consistency size check (moneromooo-monero)
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
|
|
| |
also avoid integer underflow on zero height
|
| |\
| |
| |
| |
| |
| | |
43f5269f Wallets now do not depend on the daemon rpc lib (moneromooo-monero)
bb89ae8b move connection_basic and network_throttle from src/p2p to epee (moneromooo-monero)
4abf25f3 cryptonote_core does not depend on p2p anymore (moneromooo-monero)
|
| | |
| |
| |
| |
| | |
These even had the epee namespace.
This fixes some ugly circular dependencies.
|
| | |
| |
| |
| |
| |
| | |
As a followon side effect, this makes a lot of inline code
included only in particular cpp files (and instanciated
when necessary.
|
| |/ |
|
| |\
| |
| |
| | |
cf5f6236 Corrections in rate limiting / trottle code, especially in 'out' direction (rbrunner7)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Deleted 3 out of 4 calls to method connection_basic::sleep_before_packet
that were erroneous / superfluous, which enabled the elimination of a
"fudge" factor of 2.1 in connection_basic::set_rate_up_limit;
also ended the multiplying of limit values and numbers of bytes
transferred by 1024 before handing them over to the global throttle
objects
|
| | | |
|
| |/
|
|
| |
It's sent as JSON, so raw binary is not appropriate
|
| |
|
|
|
|
|
| |
It's nasty, and actually breaks on Solaris, where if.h fails to
build due to:
struct map *if_memmap;
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
monero/src/cryptonote_protocol/block_queue.cpp:208:44: error:
suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
static const boost::uuids::uuid uuid0 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{ }
monero/src/wallet/wallet_rpc_server.cpp:1895:43: error:
lambda capture 'wal' is not used [-Werror,-Wunused-lambda-capture]
tools::signal_handler::install([&wrpc, &wal](int) {
^
monero/src/cryptonote_protocol/cryptonote_protocol_handler.inl:1616:40: error:
lambda capture 'arg' is not used [-Werror,-Wunused-lambda-capture]
m_p2p->for_each_connection([this, &arg, &fluffy_arg, &exclude_context, &fullConnections...
^
monero/src/cryptonote_protocol/cryptonote_protocol_handler.inl:1616:46: error:
lambda capture 'fluffy_arg' is not used [-Werror,-Wunused-lambda-capture]
m_p2p->for_each_connection([this, &arg, &fluffy_arg, &exclude_context, &fullConnections...
^
monero/src/blockchain_utilities/blockchain_export.cpp:181:3: error:
bool literal returned from 'main' [-Werror,-Wmain]
CHECK_AND_ASSERT_MES(r, false, "Failed to initialize source blockchain storage");
^ ~~~~~
monero/contrib/epee/include/misc_log_ex.h:180:97: note:
expanded from macro 'CHECK_AND_ASSERT_MES'
...fail_ret_val, message) do{if(!(expr)) {LOG_ERROR(message); return fail_ret_val;};}while(0)
^ ~~~~~~~~~~~~
monero/src/blockchain_utilities/blockchain_export.cpp:195:3: error:
bool literal returned from 'main' [-Werror,-Wmain]
CHECK_AND_ASSERT_MES(r, false, "Failed to export blockchain raw data");
^ ~~~~~
monero/contrib/epee/include/misc_log_ex.h:180:97: note:
expanded from macro 'CHECK_AND_ASSERT_MES'
...fail_ret_val, message) do{if(!(expr)) {LOG_ERROR(message); return fail_ret_val;};}while(0)
^ ~~~~~~~~~~~~
|
| |\
| |
| |
| | |
0a872798 protocol: kick idle peers by dropping them (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This is safer, as we don't risk break expectations (eg, requesting
block hashes and then receiving a late set of blocks). Dropping a
connection means another will be attempted in a fresh state.
Also bump the kick timeout to 5 minutes, to ensure we only kick
really idle peers.
|
| |\ \
| | |
| | |
| | | |
8028dde7 block_queue: use boost::uuids::nil_uuid where appropriate (moneromooo-monero)
|
| | |/ |
|
| |\ \
| |/
|/|
| | |
7adceee6 precomputed block hashes are now in blocks of N (currently 256) (moneromooo-monero)
|
| | |
| |
| |
| | |
This shaves a lot of space off binaries
|
| | | |
|
| |\ \
| | |
| | |
| | | |
3487d810 cryptonote_protocol: fix needless chain hashes downloads (moneromooo-monero)
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
The last known hash was calculated incorrectly, causing
further chain hash downloads to restart from the current
chain. When the block queue has close to 10k blocks waiting,
this causes frequent downloads of 10k more hashes, but
with only the last few hashes actually being useful.
|
| |\ \
| | |
| | |
| | | |
7f2f6ee1 protocol: remove hop count on block propagation (moneromooo-monero)
|
| | |/
| |
| |
| |
| |
| | |
It is unused, as it was apparently a future optimization,
and it leaks some information (though since pools publish
thei blocks they find, that amount seems small).
|
| |/ |
|
| |
|
|
| |
Defaults to off, but fluffy blocks are forced enabled on testnet
|
| |\
| |
| |
| |
| |
| | |
c867357a cryptonote_protocol: error handling on cleanup_handle_incoming_blocks (moneromooo-monero)
ce901fcb Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocks (moneromooo-monero)
84fa015e core: guard against exceptions in handle_incoming_{block,tx} (moneromooo-monero)
|
| | | |
|