summaryrefslogtreecommitdiff
path: root/src/serialization
Commit message (Collapse)AuthorAgeFilesLines
* serialization: check stream good flag at the endmoneromooo-monero2019-06-141-1/+1
| | | | just in case
* serialization: fail on read_varint errormoneromooo-monero2019-06-141-1/+2
|
* fix wide difficulty conversion with some versions of boostmoneromooo-monero2019-05-011-2/+2
|
* Make difficulty 128 bit instead of 64 bitmoneromooo-monero2019-03-241-0/+65
| | | | | | Based on Boolberry work by: jahrsg <jahr@jahr.me> cr.zoidberg <crypto.zoidberg@gmail.com>
* Merge pull request #5190Riccardo Spagni2019-03-171-0/+4
|\ | | | | | | 551104fb daemon: add --public-node mode, RPC port propagation over P2P (xiphon)
| * daemon: add --public-node mode, RPC port propagation over P2Pxiphon2019-02-251-0/+4
| |
* | Update 2019 copyrightbinaryFate2019-03-0519-19/+19
| |
* | various: remove unused variablesmoneromooo-monero2019-03-041-1/+0
| |
* | serialization: Use pos_type instead of streamposTom Smeding2019-02-011-1/+1
|/ | | | | | | | According to [1], the ios_base::streampos member type is deprecated, and removed in C++17. This type was an alias for pos_type, which this commit uses instead. [1]: https://en.cppreference.com/w/cpp/io/ios_base
* Pruningmoneromooo-monero2019-01-221-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.
* json_archive: initialize inner_array_size in ctormoneromooo-monero2018-11-151-1/+1
| | | | Coverity 136581
* Merge pull request #4753Riccardo Spagni2018-11-141-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)
| * serializtion: add missing mainnet and stagenet fields for 0mqmoneromooo-monero2018-10-291-0/+4
| | | | | | | | Coverity 184940
* | Update ZMQ fee estimate and add ZMQ output distributionLee Clagett2018-10-232-0/+26
|/
* tx_pool: avoid parsing a whole tx if only the prefix is neededmoneromooo-monero2018-10-081-6/+17
|
* v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero2018-09-111-0/+8
|
* Fixed ZMQ-RPC for transactions and GET_BLOCKS_FASTLee Clagett2018-08-022-162/+172
|
* update get_info RPC and bump RPC versionvictorsintnicolaas2018-06-291-0/+2
|
* Correct spelling mistakes.Edward Betts2018-03-052-2/+2
|
* Readd copyright starting datexmr-eric2018-01-261-1/+1
|
* Update 2018 copyrightxmr-eric2018-01-2616-16/+16
|
* Merge pull request #2990Riccardo Spagni2018-01-107-216/+274
|\ | | | | | | 2d17feb0 factor STL container serialization (moneromooo-monero)
| * factor STL container serializationmoneromooo-monero2017-12-227-216/+274
| |
* | Add a chacha20 variant to go with chacha8moneromooo-monero2017-12-251-2/+2
|/
* move includes around to lessen overall loadmoneromooo-monero2017-12-161-0/+1
|
* add bulletproofs from v7 on testnetmoneromooo-monero2017-12-082-0/+44
|
* serialization: add std::set and std::unordered_set serializationmoneromooo-monero2017-11-242-0/+130
|
* track double spending in the txpoolmoneromooo-monero2017-11-061-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).
* Merge pull request #2506Riccardo Spagni2017-10-021-0/+1
|\ | | | | | | c3de19ed json_object: add missing do_not_relay to tx_in_pool serialization (moneromooo-monero)
| * json_object: add missing do_not_relay to tx_in_pool serializationmoneromooo-monero2017-09-211-0/+1
| |
* | serialization: add deque serializationmoneromooo-monero2017-09-252-2/+34
|/
* Fixes static_assert on arm and ppc buildsLee Clagett2017-09-191-1/+3
|
* Fix various oversights/bugs in ZMQ RPC server codeThomas Winget2017-09-052-69/+193
| | | | | | | | | - 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
* json serialization for rpc-relevant monero typesThomas Winget2017-09-053-0/+1466
| | | | | | | | | | | 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
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-2110-10/+10
|
* serialization: add support for serializing std::pair and std::listmoneromooo-monero2016-09-263-4/+219
|
* serialization: add override for serializing boolmoneromooo-monero2016-08-281-0/+6
|
* make rct tx serialization workmoneromooo-monero2016-08-281-28/+0
| | | | | | | It may be suboptimal, but it's a pain to have to rebuild everything when some of this changes. Also, no clue why there seems to be two different code paths for serializing a tx...
* rct: add serialization machinery to rct typesmoneromooo-monero2016-08-281-0/+29
|
* serialization: declare do_serialize specializations before usemoneromooo-monero2016-08-281-0/+5
| | | | | | This lets my gcc picks those instead of the generic template where appropriate (and then fail since std::vector<something> does not have a serialize method.
* even more typosHenning Kopp2016-01-251-2/+2
|
* more typos fixedHenning Kopp2016-01-251-2/+2
|
* fixed typoHenning Kopp2016-01-251-1/+1
|
* updated copyright yearRiccardo Spagni2015-12-3110-10/+10
|
* encrypted payment ids are now 64 bit, instead of 256 bitmoneromooo-monero2015-08-091-0/+2
| | | | | | | | | | | | | | Pros: - smaller on the blockchain - shorter integrated addresses Cons: - less sparseness - less ability to embed actual information The boolean argument to encrypt payment ids is now gone from the RPC calls, since the decision is made based on the length of the payment id passed.
* 2014 network limit 1.1 +utils +toc -doc -drmonerorfree2monero2015-02-201-2/+2
| | | | | | | | | | | | | | | | | | | | | Update of the PR with network limits works very well for all speeds (but remember that low download speed can stop upload because we then slow down downloading of blockchain requests too) more debug options fixed pedantic warnings in our code should work again on Mac OS X and FreeBSD fixed warning about size_t tested on Debian, Ubuntu, Windows(testing now) TCP options and ToS (QoS) flag FIXED peer number limit FIXED some spikes in ingress/download FIXED problems when other up and down limit
* year updated in licenseRiccardo Spagni2015-01-0210-10/+10
|
* fixed errant >Riccardo Spagni2014-10-151-1/+1
|
* Commented most of src/serialization/ going to read up more on variant's and ↵jebes2014-10-135-97/+315
| | | | finish off the job/add last touchs next
* License updated to BSD 3-clausefluffypony2014-07-2310-30/+290
|