aboutsummaryrefslogtreecommitdiff
path: root/src/serialization/json_object.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-09-27monerod can now sync from pruned blocksmoneromooo-monero1-0/+19
If the peer (whether pruned or not itself) supports sending pruned blocks to syncing nodes, the pruned version will be sent along with the hash of the pruned data and the block weight. The original tx hashes can be reconstructed from the pruned txes and theur prunable data hash. Those hashes and the block weights are hashes and checked against the set of precompiled hashes, ensuring the data we received is the original data. It is currently not possible to use this system when not using the set of precompiled hashes, since block weights can not otherwise be checked for validity. This is off by default for now, and is enabled by --sync-pruned-blocks
2019-05-31daemon: display peer address type in print_cnmoneromooo-monero1-0/+2
2019-03-17Merge pull request #5190Riccardo Spagni1-0/+4
551104fb daemon: add --public-node mode, RPC port propagation over P2P (xiphon)
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-03-04various: remove unused variablesmoneromooo-monero1-1/+0
2019-02-25daemon: add --public-node mode, RPC port propagation over P2Pxiphon1-0/+4
2019-01-22Pruningmoneromooo-monero1-0/+2
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-11-14Merge pull request #4753Riccardo Spagni1-0/+4
157054b8 hardfork: initialize current_fork_index in ctor (moneromooo-monero) 2362baf7 network_throttle: initialize m_last_sample_time in ctor (moneromooo-monero) d9400f69 serializtion: add missing mainnet and stagenet fields for 0mq (moneromooo-monero) cbe0122b wallet2: initialize amount to 0 in tx_scan_info_t ctor (moneromooo-monero)
2018-10-29serializtion: add missing mainnet and stagenet fields for 0mqmoneromooo-monero1-0/+4
Coverity 184940
2018-10-23Update ZMQ fee estimate and add ZMQ output distributionLee Clagett1-0/+23
2018-09-11v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero1-0/+8
2018-08-02Fixed ZMQ-RPC for transactions and GET_BLOCKS_FASTLee Clagett1-156/+172
2018-06-29update get_info RPC and bump RPC versionvictorsintnicolaas1-0/+2
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-12-08add bulletproofs from v7 on testnetmoneromooo-monero1-0/+41
2017-11-06track double spending in the txpoolmoneromooo-monero1-0/+2
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-09-21json_object: add missing do_not_relay to tx_in_pool serializationmoneromooo-monero1-0/+1
2017-09-19Fixes static_assert on arm and ppc buildsLee Clagett1-1/+3
2017-09-05Fix various oversights/bugs in ZMQ RPC server codeThomas Winget1-55/+152
- 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-05json serialization for rpc-relevant monero typesThomas Winget1-0/+1068
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