aboutsummaryrefslogtreecommitdiff
path: root/src/serialization/json_object.h (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2024-06-18Fix ZMQ Tx PruningLee Clagett1-1/+1
2024-05-21copyright: bump to 2024copyCat1-1/+1
2023-06-10Add CLSAG serialization to ZMQ codeLee Clagett1-0/+3
2023-01-16Copyright: Update to 2023mj-xmr1-1/+1
Co-authored-by: plowsof <plowsof@protonmail.com> extra files
2022-04-18Add view tags to outputs to reduce wallet scanning timej-berman1-0/+3
Implements view tags as proposed by @UkoeHB in MRL issue https://github.com/monero-project/research-lab/issues/73 At tx construction, the sender adds a 1-byte view tag to each output. The view tag is derived from the sender-receiver shared secret. When scanning for outputs, the receiver can check the view tag for a match, in order to reduce scanning time. When the view tag does not match, the wallet avoids the more expensive EC operations when deriving the output public key using the shared secret.
2022-04-05plug bulletproofs plus into consensusmoneromooo-monero1-0/+3
2022-03-04Copyright: Update to 2022mj-xmr1-1/+1
2021-09-11RPC and ZeroMQ APIs to support p2poolSChernykh1-0/+3
Adds the following: - "get_miner_data" to RPC API - "json-miner-data" to ZeroMQ subscriber contexts Both provide the necessary data to create a custom block template. They are used by p2pool. Data provided: - major fork version - current height - previous block id - RandomX seed hash - network difficulty - median block weight - coins mined by the network so far - mineable mempool transactions
2021-04-27clang: fix -Wrange-loop-analysis warningsselsta1-1/+1
2020-08-14Change ZMQ-JSON txextra to hex and remove unnecessary base fieldsLee Clagett1-0/+11
2020-08-14Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ fasterLee Clagett1-3/+19
2020-08-14Fix pruned tx for ZMQ's GetBlocksFastLee Clagett1-0/+2
2020-05-04Adding ZMQ/Pub support for txpool_add and chain_main eventsLee Clagett1-1/+1
2020-04-11Add byte_stream for zero-copy serialization, and add support in ZMQ-JSON.Lee Clagett1-52/+52
2020-03-14workaround for GetObject windows.h macro and rapidjson conflictxiphon1-1/+1
2020-03-09Reduce template bloat in hex->bin for ZMQ jsonLee Clagett1-14/+7
2020-03-05Various improvements to the ZMQ JSON-RPC handling:Lee Clagett1-75/+87
- Finding handling function in ZMQ JSON-RPC now uses binary search - Temporary `std::vector`s in JSON output now use `epee::span` to prevent allocations. - Binary -> hex in JSON output no longer allocates temporary buffer - C++ structs -> JSON skips intermediate DOM creation, and instead write directly to an output stream.
2019-09-27monerod can now sync from pruned blocksmoneromooo-monero1-0/+3
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-03-05Update 2019 copyrightbinaryFate1-1/+1
2018-10-23Update ZMQ fee estimate and add ZMQ output distributionLee Clagett1-0/+3
2018-08-02Fixed ZMQ-RPC for transactions and GET_BLOCKS_FASTLee Clagett1-6/+0
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-12-16move includes around to lessen overall loadmoneromooo-monero1-0/+1
2017-12-08add bulletproofs from v7 on testnetmoneromooo-monero1-0/+3
2017-09-05Fix various oversights/bugs in ZMQ RPC server codeThomas Winget1-14/+41
- 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/+344
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