Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-01-28 | Adding initial support for broadcasting transactions over Tor | Lee Clagett | 3 | -26/+22 | |
- Support for ".onion" in --add-exclusive-node and --add-peer - Add --anonymizing-proxy for outbound Tor connections - Add --anonymous-inbounds for inbound Tor connections - Support for sharing ".onion" addresses over Tor connections - Support for broadcasting transactions received over RPC exclusively over Tor (else broadcast over public IP when Tor not enabled). | |||||
2019-01-28 | rpc: fix internal daemon calls in restricted rpc getting partial data | moneromooo-monero | 2 | -159/+179 | |
2019-01-22 | Pruning | moneromooo-monero | 4 | -19/+118 | |
The blockchain prunes seven eighths of prunable tx data. This saves about two thirds of the blockchain size, while keeping the node useful as a sync source for an eighth of the blockchain. No other data is currently pruned. There are three ways to prune a blockchain: - run monerod with --prune-blockchain - run "prune_blockchain" in the monerod console - run the monero-blockchain-prune utility The first two will prune in place. Due to how LMDB works, this will not reduce the blockchain size on disk. Instead, it will mark parts of the file as free, so that future data will use that free space, causing the file to not grow until free space grows scarce. The third way will create a second database, a pruned copy of the original one. Since this is a new file, this one will be smaller than the original one. Once the database is pruned, it will stay pruned as it syncs. That is, there is no need to use --prune-blockchain again, etc. | |||||
2018-12-30 | wallet: do not display daemon controlled text if untrusted | moneromooo-monero | 1 | -12/+12 | |
2018-12-18 | blockchain_db: speedup tx output gathering | moneromooo-monero | 1 | -13/+16 | |
We know all the data we'll want for getblocks.bin is contiguous | |||||
2018-12-07 | p2p: use vector instead of list for peer lists | moneromooo-monero | 1 | -3/+4 | |
2018-12-04 | rpc: mask values that are nobody else's business in restricted RPC | moneromooo-monero | 1 | -24/+29 | |
2018-11-28 | add command pop_blocks | Jason Wong | 3 | -0/+37 | |
add new public method to Blockchain and update according to code review update after review: better lock/unlock, try catch and coding style | |||||
2018-11-27 | rpc: speed up the common get_output_distribution case while syncing | moneromooo-monero | 1 | -2/+19 | |
2018-11-26 | rpc: speedup get_outs.bin | moneromooo-monero | 1 | -1/+3 | |
2018-11-23 | remove some unused code | moneromooo-monero | 1 | -72/+0 | |
Found by codacy.com | |||||
2018-11-23 | tests: slow_memmem now returns size_t | moneromooo-monero | 1 | -1/+1 | |
Makes more sense than uint64_t for an offset, and agrees with the %zu used to print results. Found by codacy.com | |||||
2018-11-21 | rpc: add version to get_info | Jethro Grassie | 5 | -1/+11 | |
2018-11-20 | rpc: speedup get_output_distribution | moneromooo-monero | 3 | -2/+105 | |
and decrease the amount of data carried around | |||||
2018-11-19 | Avoid unnecessary temp block and copy ctor | moneromooo-monero | 1 | -3/+3 | |
block already has a default ctor, and the extra object churn due to its innards (vectors, etc) is pointless. | |||||
2018-11-16 | tests: add unit tests for get_output_distribution | moneromooo-monero | 4 | -5/+5 | |
2018-11-16 | Don't cache nettype in core_rpc_server use m_core | doy-lee | 2 | -15/+18 | |
This can go out of sync with m_core's nettype if you run in fakechain mode since entering fakechain mode is done through code not the command line and core_rpc_server only looks at the command line to figure out the nettype. | |||||
2018-11-15 | Removed a lot of unnecessary includes | Martijn Otto | 1 | -1/+0 | |
2018-11-04 | rpc: fix linking error of 6097472a, get_output_distribution | Dusan Klinec | 1 | -5/+5 | |
Undefined symbols for architecture x86_64: "cryptonote::core::get_output_distribution(unsigned long long, unsigned long long, unsigned long long, unsigned long long&, std::__1::vector<unsigned long long, std::__1::allocator<unsigned long long> >&, unsigned long long&) const", referenced from: cryptonote::rpc::RpcHandler::get_output_distribution(cryptonote::core&, unsigned long long, unsigned long long, unsigned long long, bool) in rpc_handler.cpp.o | |||||
2018-11-02 | use current height - 1 for top block height in err msgs | cryptochangements34 | 1 | -3/+3 | |
2018-10-28 | return message in stop_mining if mining never started | cryptochangements34 | 1 | -1/+8 | |
2018-10-27 | rpc: adjust ring size error message now that too high is also possible | moneromooo-monero | 1 | -1/+1 | |
2018-10-24 | rpc: fix build with older compilers | moneromooo-monero | 1 | -1/+1 | |
2018-10-23 | Update ZMQ fee estimate and add ZMQ output distribution | Lee Clagett | 10 | -80/+226 | |
2018-10-22 | rpc: fix wrongly formatted JSON for pruned tx | stoffu | 1 | -19/+12 | |
Fix for #4399. Also unifies code for serializing pruned tx to binary/json into one. | |||||
2018-10-19 | rpc: fix output distribution caching ignoring chain changes | moneromooo-monero | 1 | -6/+8 | |
0 is placeholder for whole chain, so we should compare chain height changes rather than chain-height-or-zero. Even this isn't totally foolproof if a blocks are popped and the same number added again, but it is much better as it prevents the data from slowly going out of sync. | |||||
2018-10-18 | tx_pool: revert #4592 and move bin2hex conversion to on_get_transaction_pool | stoffu | 1 | -0/+2 | |
2018-10-16 | rpc: init m_rpc_version in Message ctor | moneromooo-monero | 1 | -1/+1 | |
Coverity 182501 | |||||
2018-10-16 | rpc: remove unused ctors | moneromooo-monero | 1 | -3/+0 | |
Also prevents coverity from moaning about them not initializing fields | |||||
2018-10-12 | rpc: blanket initialize 0MQ request and response structures | moneromooo-monero | 1 | -1/+1 | |
2018-10-04 | rpc: fixed typo in JSON command error response message | AnythingTechPro | 1 | -1/+1 | |
2018-09-17 | rpc: allow pruning of json encoded txs | cryptochangements34 | 1 | -1/+10 | |
2018-09-14 | remove obsolete daemon selection of fake outs and old tx construction | moneromooo-monero | 6 | -232/+0 | |
2018-09-14 | rpc: add a "is an update available" flag in get_info | moneromooo-monero | 2 | -1/+5 | |
Make it easier for a user to be told when to update | |||||
2018-09-13 | rpc: add cumulative difficulty in block header data | moneromooo-monero | 2 | -0/+3 | |
2018-09-11 | v8: per byte fee, pad bulletproofs, fixed 11 ring size | moneromooo-monero | 5 | -17/+33 | |
2018-09-09 | rpc: return "already mining" in start_mining if already mining | moneromooo-monero | 1 | -1/+7 | |
2018-09-07 | rpc: don't include start time if restricted | moneromooo-monero | 1 | -1/+1 | |
2018-08-31 | rpc: allow to pass RPC login via RPC_LOGIN env var | Dusan Klinec | 1 | -4/+10 | |
- passing by parameter is insecure as it is shown in the process list | |||||
2018-08-02 | Fixed ZMQ-RPC for transactions and GET_BLOCKS_FAST | Lee Clagett | 2 | -26/+18 | |
2018-07-13 | db: store cumulative rct output distribution in the db for speed | moneromooo-monero | 3 | -147/+25 | |
This gets rid of the temporary precalc cache. Also make the RPC able to send data back in binary or JSON, since there can be a lot of data This bumps the LMDB database format to v3, with migration. | |||||
2018-06-29 | update get_info RPC and bump RPC version | victorsintnicolaas | 3 | -1/+6 | |
2018-06-29 | add --regtest and --fixed-difficulty for regression testing | victorsintnicolaas | 4 | -0/+90 | |
on_generateblocks RPC call combines functionality from the on_getblocktemplate and on_submitblock RPC calls to allow rapid block creation. Difficulty is set permanently to 1 for regtest. Makes use of FAKECHAIN network type, but takes hard fork heights from mainchain Default reserve_size in generate_blocks RPC call is now 1. If it is 0, the following error occurs 'Failed to calculate offset for'. Queries hard fork heights info of other network types | |||||
2018-06-28 | remove epee from link lines where it's redundant | moneromooo-monero | 1 | -1/+0 | |
For some reason, this confuses and kills ASAN on startup as it thinks const uint8_t ipv4_network_address::ID is defined multiple times. | |||||
2018-06-26 | rpc: rework to avoid repeated calculations in get_blocks.bin | moneromooo-monero | 2 | -30/+17 | |
2018-06-26 | replace std::list with std::vector on some hot paths | moneromooo-monero | 4 | -49/+38 | |
also use reserve where appropriate | |||||
2018-06-26 | rpc: sanity check on number of txes in a block | moneromooo-monero | 1 | -0/+6 | |
2018-06-26 | rpc: add option to skip coinbase info in get_blocks.bin | moneromooo-monero | 2 | -4/+9 | |
2018-06-26 | alt_chain_info can now give more info about a particular alt chain | moneromooo-monero | 2 | -3/+19 | |
2018-06-21 | fix typos in language files and rpc_args.cpp | ordtrogen | 1 | -1/+1 | |
2018-06-21 | rpc: add a non binary get_transaction_pool_hashes RPC | moneromooo-monero | 3 | -5/+45 | |
2018-06-20 | rpc: add blockchain disk size to getinfo | moneromooo-monero | 2 | -1/+5 | |
This should help new nodes predict how much disk space will be needed for a full sync | |||||
2018-06-17 | zmq_server: fix bind call when address and/or port are empty | moneromooo-monero | 1 | -0/+4 | |
2018-06-01 | rpc: the cache is still for non cumulative on that branch | moneromooo-monero | 1 | -0/+7 | |
2018-05-31 | rpc: convert distribution to cumulative after caching | moneromooo-monero | 1 | -6/+7 | |
This avoids double conversion on a later cache hit | |||||
2018-05-30 | rpc: fix get_output_distribution cache for the cumulative case | moneromooo-monero | 1 | -0/+7 | |
The distribution was not converted to cumulative after a cache hit | |||||
2018-05-26 | fix build with GCC 8.1.0 | moneromooo-monero | 1 | -0/+2 | |
2018-05-23 | db_lmdb: save pruned and prunable tx data separately | moneromooo-monero | 2 | -18/+3 | |
This bumps DB version to 2, migration code will run for v1 DBs | |||||
2018-05-21 | speed up get_output_distribution (and precalc common case) | moneromooo-monero | 2 | -1/+129 | |
2018-04-25 | Fix broken interactive daemon 'limit' commands plus RPC calls | rbrunner7 | 1 | -1/+1 | |
2018-04-23 | speedup get_output_histogram for all amounts when min_count > 0 | moneromooo-monero | 1 | -1/+1 | |
This skips the vast majority of "dust" output amounts with just one instance on the chain. Clocks in at 0.15% of the original time on testnet. | |||||
2018-04-19 | add top height to get_output_distribution, and cache it for rct | moneromooo-monero | 2 | -0/+35 | |
This should cache the vast majority of calls for long running wallets | |||||
2018-04-19 | rpc: add missing perf timer for get_output_distribution | moneromooo-monero | 1 | -0/+1 | |
2018-04-07 | rpc: allow getting pruned blocks from gettransactions | moneromooo-monero | 2 | -8/+14 | |
and get them pruned in find_and_save_rings, since it does not need the pruned data in the first place. Also set decode_to_json to false where missing, we don't need this either. | |||||
2018-04-05 | Core RPC: optionally add POW hash to block_header_response | stoffu | 3 | -8/+22 | |
2018-03-27 | fix lambda compile error on openbsd | moneromooo-monero | 1 | -1/+1 | |
2018-03-23 | rpc: make get_output_distribution a non-restricted RPC | moneromooo-monero | 1 | -1/+1 | |
so that those nodes can still be used for sending transactions | |||||
2018-03-16 | add RPC to get a histogram of outputs of a given amount | moneromooo-monero | 3 | -1/+81 | |
2018-03-15 | Fix typos in various files | Dimitris Apostolou | 1 | -2/+2 | |
2018-03-05 | Stagenet | stoffu | 5 | -18/+32 | |
2018-02-16 | options: add testnet option dependencies | whythat | 1 | -2/+6 | |
2018-02-16 | options: remove testnet-* options | whythat | 2 | -18/+4 | |
2018-01-30 | Bootstrap daemon | stoffu | 3 | -1/+349 | |
2018-01-29 | Fixed typos and wording tweaks | Maxithi | 1 | -1/+1 | |
2018-01-29 | Allow the number of incoming connections to be limited | Erik de Castro Lopo | 3 | -2/+36 | |
It was already possible to limit outgoing connections. One might want to do this on home network connections with high bandwidth but low usage caps. | |||||
2018-01-29 | Rename delete_connections to delete_out_connections | Erik de Castro Lopo | 1 | -1/+1 | |
This rename is needed so that delete_in_connections can be added. | |||||
2018-01-29 | Rename connections_count to max_out_connection_count | Erik de Castro Lopo | 1 | -1/+1 | |
This is needed so that a max_in_connection_count can be added. | |||||
2018-01-26 | Readd copyright starting date | xmr-eric | 6 | -6/+6 | |
2018-01-26 | Update 2018 copyright | xmr-eric | 19 | -19/+19 | |
2018-01-17 | rpc: expose recent median block size in getinfo | moneromooo-monero | 2 | -1/+5 | |
2018-01-16 | rpc: default do_not_relay to false in sendrawtransaction | moneromooo-monero | 1 | -1/+1 | |
2018-01-10 | fix some link errors in debug mode for macos | stoffu | 1 | -0/+2 | |
2018-01-10 | epee: remove dependency on common | moneromooo-monero | 1 | -1/+2 | |
2018-01-06 | Implement #3045, fixing RPC snakecases | Nick Johnson | 1 | -0/+18 | |
2018-01-04 | Change cryptonote::COMMAND_RPC_SET_LIMIT::response to use int64_t | Nick Johnson | 1 | -2/+2 | |
2017-12-28 | zmq: use older 3-arg version of setsockopt | stoffu | 1 | -1/+1 | |
2017-12-18 | add empty container sanity checks when using front() and back() | moneromooo-monero | 2 | -3/+12 | |
2017-12-18 | rpc: guard against json parsing a non object | moneromooo-monero | 1 | -1/+1 | |
2017-12-18 | rpc: do not try to use an invalid txid in relay_tx | moneromooo-monero | 1 | -6/+17 | |
2017-12-16 | Wallets now do not depend on the daemon rpc lib | moneromooo-monero | 1 | -2/+21 | |
The shared RPC code is now moved off into a separate lib | |||||
2017-12-16 | cryptonote_core does not depend on p2p anymore | moneromooo-monero | 3 | -1/+41 | |
As a followon side effect, this makes a lot of inline code included only in particular cpp files (and instanciated when necessary. | |||||
2017-12-16 | move includes around to lessen overall load | moneromooo-monero | 3 | -1/+3 | |
2017-11-30 | rpc: add offline state in info rpc | moneromooo-monero | 2 | -1/+5 | |
2017-11-28 | Corrections in rate limiting / trottle code, especially in 'out' direction | rbrunner7 | 1 | -2/+2 | |
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 | |||||
2017-11-23 | rpc: increase the max number of outs one can request | moneromooo-monero | 1 | -1/+1 | |
It's getting hit too easily | |||||
2017-11-18 | make connection_id a string in RPC | moneromooo-monero | 2 | -4/+5 | |
It's sent as JSON, so raw binary is not appropriate | |||||
2017-11-17 | RPC: allow binding of restricted port in addition to core port | Tim L | 2 | -7/+26 | |
2017-11-14 | rpc: remove obsolete busy core checks | moneromooo-monero | 1 | -126/+2 | |
2017-11-14 | wallet: rejig to avoid prompting in wallet2 | moneromooo-monero | 1 | -1/+3 | |
wallet2 is a library, and should not prompt for stdin. Instead, pass a function so simplewallet can prompt on stdin, and a GUI might display a window, etc. | |||||
2017-11-14 | move cryptonote command line options to cryptonote_core | moneromooo-monero | 1 | -1/+1 | |
Those have no reason to be in a generic module | |||||
2017-11-14 | remove "using namespace std" from headers | moneromooo-monero | 1 | -1/+1 | |
It's nasty, and actually breaks on Solaris, where if.h fails to build due to: struct map *if_memmap; | |||||
2017-11-14 | core: warn when free disk space is low | moneromooo-monero | 2 | -1/+5 | |
2017-11-14 | rpc: added miner_tx_hash to resp of getblock | stoffu | 2 | -1/+4 | |
2017-11-08 | Protect node privacy by proper filtering in restricted-mode RPC answers | binaryFate | 2 | -13/+13 | |
This patch allows to filter out sensitive information for queries that rely on the pool state, when running in restricted mode. This filtering is only applied to data sent back to RPC queries. Results of inline commands typed locally in the daemon are not affected. In practice, when running with `--restricted-rpc`: * get_transaction_pool will list relayed transactions with the fields "last relayed time" and "received time" set to zero. * get_transaction_pool will not list transaction that have do_not_relay set to true, and will not list key images that are used only for such transactions * get_transaction_pool_hashes.bin will not list such transaction * get_transaction_pool_stats will not count such transactions in any of the aggregated values that are computed The implementation does not make filtering the default, so developers should be mindful of this if they add new RPC functionality. Fixes #2590. | |||||
2017-11-07 | RPC: get_info add rpc_connections_count | Tim L | 2 | -1/+5 | |
2017-11-06 | track double spending in the txpool | moneromooo-monero | 3 | -5/+41 | |
Transactions in the txpool are marked when another transaction is seen double spending one or more of its inputs. This is then exposed wherever appropriate. Note that being marked with this "double spend seen" flag does NOT mean this transaction IS a double spend and will never be mined: it just means that the network has seen at least another transaction spending at least one of the same inputs, so care should be taken to wait for a few confirmations before acting upon that transaction (ie, mostly of use for merchants wanting to accept unconfirmed transactions). | |||||
2017-11-03 | Fix file permission issue | Tim L | 3 | -0/+0 | |
This branch fixes a file permission issue introduced by https://github.com/monero-project/monero/commit/69c37200aa87f100f731e755bdca7a0dc6ae820a | |||||
2017-10-30 | RPC Add cross origin resource sharing support | Tim L | 3 | -1/+21 | |
2017-10-30 | rpc: add performance timers | moneromooo-monero | 1 | -0/+57 | |
Enable with perf:DEBUG | |||||
2017-10-26 | Fix JSON-RPC response object over ZMQ | Lee Clagett | 1 | -22/+31 | |
2017-10-15 | lightwallet rpc server commands | Jaquee | 1 | -1/+353 | |
2017-10-14 | rpc: make get_coinbase_tx_sum a restricted RPC | moneromooo-monero | 1 | -1/+1 | |
It's pretty slow and I/O intensive | |||||
2017-10-07 | Subaddresses | kenshi84 | 3 | -11/+31 | |
2017-10-06 | rpc: out_peers now works again | moneromooo-monero | 1 | -15/+7 | |
2017-10-05 | Upgrades to epee::net_utils::network_address | Lee Clagett | 1 | -1/+1 | |
- internal nullptr checks - prevent modifications to network_address (shallow copy issues) - automagically works with any type containing interface functions - removed fnv1a hashing - ipv4_network_address now flattened with no base class | |||||
2017-09-29 | rpc: fix getting txpool transactions | moneromooo-monero | 1 | -0/+1 | |
2017-09-25 | move checkpoints in a separate library | moneromooo-monero | 1 | -1/+1 | |
2017-09-25 | get_blockchain_top now returns void | moneromooo-monero | 1 | -22/+4 | |
It was always returning true, and could not be foreseen to usefully return errors in the future. This silences CID 162652 as well as saves some checking code in a few places. | |||||
2017-09-22 | Source updates are in a source subdirectory | moneromooo-monero | 1 | -2/+4 | |
rather than in the same directory as the prebuilt versions | |||||
2017-09-22 | Log categories can now be added to and removed from | moneromooo-monero | 2 | -0/+4 | |
Also, set_log without parameters now prints the log categories | |||||
2017-09-21 | build: auto update version info without manually deleting version.h | stoffu | 1 | -7/+0 | |
2017-09-21 | wallet2: correctly handle in/out payments for view-only wallet | stoffu | 2 | -2/+5 | |
2017-09-19 | rpc: add new RPCs to get and set limits | MaxXor | 3 | -1/+101 | |
2017-09-16 | core_rpc_server: print tx rejection reason at L0 too | moneromooo-monero | 1 | -16/+28 | |
2017-09-11 | rpc: order transactions in the order they were requested | moneromooo-monero | 1 | -7/+19 | |
2017-09-08 | rpc: get_txpool_backlog is now unrestricted | moneromooo-monero | 1 | -1/+1 | |
2017-09-05 | Fix various oversights/bugs in ZMQ RPC server code | Thomas Winget | 10 | -140/+326 | |
- Add some RPC commands (and touch up a couple others) - some bounds checking - some better pointer management - const correctness and error handling -- Thanks @vtnerd for type help with serialization and CMake changes | |||||
2017-09-05 | json serialization for rpc-relevant monero types | Thomas Winget | 12 | -1/+3164 | |
Structured {de-,}serialization methods for (many new) types which are used for requests or responses in the RPC. New types include RPC requests and responses, and structs which compose types within those. # Conflicts: # src/cryptonote_core/blockchain.cpp | |||||
2017-08-31 | DRY refactoring | Thomas Winget | 1 | -1/+1 | |
2017-08-26 | rpc: decrease memory usage a bit in getblocks.bin | moneromooo-monero | 1 | -4/+7 | |
2017-08-26 | Fix getblocktemplate RPC returning wrong reserved_offset | Guillaume LE VAILLANT | 1 | -1/+1 | |
The byte for TX_EXTRA_TAG_PUBKEY is already included in res.reserved_offset by the call to slow_memmem. | |||||
2017-08-26 | rpc: add a new RPC to get current txpool backlog (sizes and fees) | moneromooo-monero | 3 | -0/+49 | |
2017-08-25 | txpool: add tx size median to the pool stats | moneromooo | 1 | -0/+2 | |
2017-08-07 | change mixin to ring size in user visible places | moneromooo-monero | 1 | -1/+1 | |
2017-08-07 | cryptonote_protocol_handler: sync speedup | moneromooo-monero | 3 | -1/+94 | |
A block queue is now placed between block download and block processing. Blocks are now requested only from one peer (unless starved). Includes a new sync_info coommand. | |||||
2017-07-04 | Add on_get_alt_blocks_hashes RPC call | moneroexamples | 3 | -1/+44 | |
2017-06-28 | Remove typeid use in network_address | moneromooo-monero | 1 | -2/+2 | |
Since I had to add an ID to the derived classes anyway, this can be used instead. This removes an apparently pointless warning from CLANG too. | |||||
2017-06-18 | Fixed typo in rpc/core_rpc_server.cpp | Julien Klepatch | 1 | -2/+2 | |
2017-06-04 | Add histogram to poolstats | Howard Chu | 1 | -1/+16 | |
2017-06-01 | Speedup print_pool_stats | Howard Chu | 3 | -1/+56 | |
Since we're just counting txs, there's no reason to deserialize all the blobs. | |||||
2017-05-27 | abstracted nework addresses | moneromooo-monero | 2 | -9/+44 | |
All code which was using ip and port now uses a new IPv4 object, subclass of a new network_address class. This will allow easy addition of I2P addresses later (and also IPv6, etc). Both old style and new style peer lists are now sent in the P2P protocol, which is inefficient but allows peers using both codebases to talk to each other. This will be removed in the future. No other subclasses than IPv4 exist yet. | |||||
2017-05-25 | Move txpool to the database | moneromooo-monero | 1 | -3/+3 | |
Integration could go further (ie, return_tx_to_pool calls should not be needed anymore, possibly other things). poolstate.bin is now obsolete. | |||||
2017-04-19 | Add expected total reward to RPC "getblocktemplate". | assylias | 2 | -2/+4 | |
Only works from V5 fork onward - returns 0 before that block. | |||||
2017-04-02 | daemon: new relay_tx command and RPC | moneromooo-monero | 3 | -1/+70 | |
2017-03-23 | core, wallet: faster tx pool scanning | moneromooo-monero | 3 | -1/+31 | |
Includes a new RPC to get tx pool hashes fast. | |||||
2017-03-05 | rpc: fix BUILD_TAG mispelling (BUILDTAG) | moneromooo-monero | 1 | -2/+2 | |
This ensures a manual or RPC update tries the right build tag, rather than source, which is currently not setup | |||||
2017-02-27 | Add support for the wallet to refresh pruned blocks | moneromooo-monero | 2 | -2/+31 | |
2017-02-27 | rpc: add a default category for daemon rpc | moneromooo-monero | 1 | -0/+3 | |
2017-02-24 | daemon/rpc: updates command and RPC | moneromooo-monero | 3 | -0/+132 | |
subcommands "check", "download", and "update". update is not yet implemented. | |||||
2017-02-23 | rpc: s/rcp/rpc/ | moneromooo-monero | 1 | -1/+1 | |
2017-02-23 | rpc: make mining_status RPC work when syncing | moneromooo-monero | 1 | -1/+1 | |
2017-02-21 | update copyright year, fix occasional lack of newline at line end | Riccardo Spagni | 5 | -5/+5 | |
2017-02-16 | More robust battery status handling. | Dion Ahmetaj | 2 | -1/+3 | |
Added an extra path to check for linux power supply status. Added ignore battery option. If set to true, then when we can't figure out the power status, we'll assume the system is plugged in. | |||||
2017-02-13 | rpc: fix some RPC calls not returning OK status when needed | moneromooo-monero | 1 | -0/+3 | |
2017-02-13 | blockchain_db: add "raw" blobdata getters for block and transaction | moneromooo-monero | 1 | -7/+13 | |
This speeds up operations such as serving blocks to syncing peers | |||||
2017-02-12 | rpc: fix daemon mixed style set_log 2,category:level | moneromooo-monero | 1 | -1/+1 | |
2017-02-10 | Added a note about smart mining to status command. Fixed up a bug where I ↵ | Dion Ahmetaj | 2 | -0/+3 | |
was resetting bg mining enabled instead of started. Upped the miner threshold. Also moved setting of enabled on start above miner thread creation since starting with true, then stopping, then starting with false resulted in race condition. | |||||
2017-02-10 | Background/smart mining. If a users' computer is plugged into a power | Dion Ahmetaj | 2 | -1/+3 | |
source, and CPU has been idle for some time, then begin mining to some threshold (don't destroy the users' CPU). This patch only supports windows and linux (I've only tested on Win64 and Ubuntu). The variables currently default to pretty conservative values (i.e. 20% CPU mining threshold). | |||||
2017-02-08 | extract some basic code from libcryptonote_core into libcryptonote_basic | kenshi84 | 3 | -5/+6 | |
2017-02-06 | Add server auth to monerod, and client auth to wallet-cli and wallet-rpc | Lee Clagett | 5 | -41/+186 | |
2017-01-28 | Add concurrency check to rpc mining to ensure not too many threads. number ↵ | Ashley Perpetual | 1 | -0/+17 | |
of cores times 4 or 257. | |||||
2017-01-26 | Fix invalid + of std::string and int | Timothy D. Prime | 1 | -1/+1 | |
These warnings were emitted by clang++, and they are real bugs. src/rpc/core_rpc_server.cpp:208:58: warning: adding 'uint64_t' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int] res.status = "Error retrieving block at height " + height; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ The obvious intent is achieved by using std::to_string(). | |||||
2017-01-22 | Remove boost/foreach.cpp includes | Miguel Herranz | 1 | -1/+0 | |
2017-01-22 | Replace BOOST_FOREACH with C++11 ranged for | Miguel Herranz | 1 | -7/+7 | |
2017-01-22 | rpc: fix orphan_status when getting blocks | moneromooo-monero | 1 | -4/+6 | |
It was always set to false, even for orphan blocks | |||||
2017-01-22 | p2p: always recreate a new peer id on startup | moneromooo-monero | 1 | -0/+2 | |
This prevents easy fingerprinting when you change IPs, and will be a must when kovri gets used. | |||||
2017-01-16 | specify restore height by YYYY-MM-DD format | kenshi84 | 3 | -1/+55 | |
2017-01-16 | Change logging to easylogging++ | moneromooo-monero | 3 | -8/+33 | |
This replaces the epee and data_loggers logging systems with a single one, and also adds filename:line and explicit severity levels. Categories may be defined, and logging severity set by category (or set of categories). epee style 0-4 log level maps to a sensible severity configuration. Log files now also rotate when reaching 100 MB. To select which logs to output, use the MONERO_LOGS environment variable, with a comma separated list of categories (globs are supported), with their requested severity level after a colon. If a log matches more than one such setting, the last one in the configuration string applies. A few examples: This one is (mostly) silent, only outputting fatal errors: MONERO_LOGS=*:FATAL This one is very verbose: MONERO_LOGS=*:TRACE This one is totally silent (logwise): MONERO_LOGS="" This one outputs all errors and warnings, except for the "verify" category, which prints just fatal errors (the verify category is used for logs about incoming transactions and blocks, and it is expected that some/many will fail to verify, hence we don't want the spam): MONERO_LOGS=*:WARNING,verify:FATAL Log levels are, in decreasing order of priority: FATAL, ERROR, WARNING, INFO, DEBUG, TRACE Subcategories may be added using prefixes and globs. This example will output net.p2p logs at the TRACE level, but all other net* logs only at INFO: MONERO_LOGS=*:ERROR,net*:INFO,net.p2p:TRACE Logs which are intended for the user (which Monero was using a lot through epee, but really isn't a nice way to go things) should use the "global" category. There are a few helper macros for using this category, eg: MGINFO("this shows up by default") or MGINFO_RED("this is red"), to try to keep a similar look and feel for now. Existing epee log macros still exist, and map to the new log levels, but since they're used as a "user facing" UI element as much as a logging system, they often don't map well to log severities (ie, a log level 0 log may be an error, or may be something we want the user to see, such as an important info). In those cases, I tried to use the new macros. In other cases, I left the existing macros in. When modifying logs, it is probably best to switch to the new macros with explicit levels. The --log-level options and set_log commands now also accept category settings, in addition to the epee style log levels. | |||||
2017-01-16 | macro to define core RPC version for avoiding future mistake | kenshi84 | 1 | -1/+2 | |
2017-01-14 | fix do_not_relay not preventing relaying on a timer | moneromooo-monero | 2 | -3/+5 | |
Also print its value when printing pool | |||||
2017-01-13 | rpc: add a command to get info about the current blockchain | moneromooo-monero | 2 | -1/+4 | |
About the tip of the main chain, and the last N blocks | |||||
2017-01-12 | Add start_time to get_info methods and show uptime | Miguel Herranz | 2 | -1/+5 | |
2017-01-09 | wallet cli: print originating block heights of mixin keys when making transfer | kenshi84 | 2 | -1/+11 | |
2017-01-06 | rpc: add block size to GET_BLOCK_HEADER RPC | moneromooo-monero | 2 | -1/+4 | |
and print it in print_bc | |||||
2017-01-06 | rpc: add current block size to the getinfo call | moneromooo-monero | 2 | -1/+5 | |
2016-12-24 | rpc: fix mixup in tx_info serialization | moneromooo-monero | 1 | -1/+1 | |
2016-12-17 | rpc: new function and RPC to get alternative chain info | moneromooo-monero | 3 | -0/+55 | |
2016-12-13 | Adding HTTP Digest Auth (but not yet enabled) | Lee Clagett | 1 | -0/+1 | |
2016-11-26 | Improve daemon RPC version handling | moneromooo-monero | 1 | -1/+10 | |
Daemon RPC version is now composed of a major and minor number, so that incompatible changes bump the major version, while compatible changes can still bump the minor version without causing clients to unnecessarily complain. | |||||
2016-11-23 | rpc: do not include output indices for pool txes | moneromooo-monero | 1 | -5/+8 | |
Those aren't yet in the blockchain, so will not be found (and aren't yet known, since it depends on where exactly the tx will be mined in the next block or blocks) | |||||
2016-11-22 | rpc: bump version after RPC changes | moneromooo-monero | 1 | -1/+1 | |
2016-11-22 | Add a get_outs (fully text based) version of get_outs.bin | moneromooo-monero | 3 | -13/+87 | |
2016-11-22 | rpc: add output indices to gettransactions | moneromooo-monero | 2 | -0/+10 | |
Someone apparently needs that to make a wallet but never asked. If you read that and that's not what you wanted, the bugtracker is at https://github.com/monero-project/monero/issues | |||||
2016-11-10 | rpc: bump RPC version | moneromooo-monero | 1 | -1/+1 | |
I forgot to bump it previously when changing RPC, most notably for the addition of the unlocked field in the histogram RPC. This causes new wallets to not realize when they're talking to an older daemon, and get confused trying to get outputs to use as fake outs. This otherwise gratuitous bump ensures than old daemons will be detected by wallets using this code. | |||||
2016-10-31 | rpc: add a dynamic fee estimation RPC call | moneromooo-monero | 3 | -0/+32 | |
2016-10-23 | daemon: report transaction relay status in print_pool* commands | moneromooo-monero | 1 | -0/+4 | |
2016-10-15 | wallet: select part of the fake outs from recent outputs | moneromooo-monero | 2 | -7/+14 | |
25% of the outputs are selected from the last 5 days (if possible), in order to avoid the common case of sending recently received outputs again. 25% and 5 days are subject to review later, since it's just a wallet level change. | |||||
2016-10-15 | rpc: add blockchain cumulative difficulty to getinfo call | moneromooo-monero | 2 | -0/+4 | |
2016-10-15 | rpc: add missing top block hash to json getinfo call | moneromooo-monero | 1 | -1/+8 | |
2016-10-10 | print_coinbase_tx_sum now breaks output into fee and emission components | Dion Ahmetaj | 2 | -3/+7 | |
2016-10-10 | changed params from start/end index to height/count | Dion Ahmetaj | 3 | -7/+7 | |
2016-10-10 | attempted to remove whitespace spam | Dion Ahmetaj | 3 | -57/+57 | |
2016-10-10 | added print_coinbase_tx_sum option | Dion Ahmetaj | 3 | -58/+90 | |
2016-10-04 | Fix build after spelling corrections in core_rpc_server | Jacob Brydolf | 1 | -2/+2 | |
2016-10-03 | Removed all code related to fast_exit | NanoAkron | 2 | -10/+0 | |
2016-10-02 | daemon: implement missing print_bc and matching RPC | moneromooo-monero | 2 | -0/+53 | |
2016-09-29 | Noticed two spellings of the word 'response' in the codebase, one 'responce' ↵ | NanoAkron | 3 | -27/+27 | |
and the other 'response'. Fixed to the standard spelling 'response'. This may fix some functionality - some calls had mixed spellings. | |||||
2016-09-26 | Dropped "bit" from bitmonero. | Randi Joseph | 1 | -2/+2 | |
2016-09-26 | Dropped "bit" from bitmonero. | Randi Joseph | 1 | -2/+2 | |
2016-09-18 | epee: optionally restrict HTTP service to a configurable user agent | moneromooo-monero | 2 | -1/+10 | |
This is intended to catch traffic coming from a web browser, so we avoid issues with a web page sending a transfer RPC to the wallet. Requiring a particular user agent can act as a simple password scheme, while we wait for 0MQ and proper authentication to be merged. |