aboutsummaryrefslogtreecommitdiff
path: root/src/serialization (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-07-24Merge pull request #5595luigi11111-0/+2
2aa1134 daemon: display peer address type in print_cn (moneromooo-monero)
2019-06-14serialization: check stream good flag at the endmoneromooo-monero1-1/+1
just in case
2019-06-14serialization: fail on read_varint errormoneromooo-monero1-1/+2
2019-05-31daemon: display peer address type in print_cnmoneromooo-monero1-0/+2
2019-05-01fix wide difficulty conversion with some versions of boostmoneromooo-monero1-2/+2
2019-03-24Make difficulty 128 bit instead of 64 bitmoneromooo-monero1-0/+65
Based on Boolberry work by: jahrsg <jahr@jahr.me> cr.zoidberg <crypto.zoidberg@gmail.com>
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 copyrightbinaryFate19-19/+19
2019-03-04various: remove unused variablesmoneromooo-monero1-1/+0
2019-02-25daemon: add --public-node mode, RPC port propagation over P2Pxiphon1-0/+4
2019-02-01serialization: Use pos_type instead of streamposTom Smeding1-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
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-15json_archive: initialize inner_array_size in ctormoneromooo-monero1-1/+1
Coverity 136581
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 Clagett2-0/+26
2018-10-08tx_pool: avoid parsing a whole tx if only the prefix is neededmoneromooo-monero1-6/+17
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 Clagett2-162/+172
2018-06-29update get_info RPC and bump RPC versionvictorsintnicolaas1-0/+2
2018-03-05Correct spelling mistakes.Edward Betts2-2/+2
2018-01-26Readd copyright starting datexmr-eric1-1/+1
2018-01-26Update 2018 copyrightxmr-eric16-16/+16
2018-01-10Merge pull request #2990Riccardo Spagni7-216/+274
2d17feb0 factor STL container serialization (moneromooo-monero)
2017-12-25Add a chacha20 variant to go with chacha8moneromooo-monero1-2/+2
2017-12-22factor STL container serializationmoneromooo-monero7-216/+274
2017-12-16move includes around to lessen overall loadmoneromooo-monero1-0/+1
2017-12-08add bulletproofs from v7 on testnetmoneromooo-monero2-0/+44
2017-11-24serialization: add std::set and std::unordered_set serializationmoneromooo-monero2-0/+130
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-10-02Merge pull request #2506Riccardo Spagni1-0/+1
c3de19ed json_object: add missing do_not_relay to tx_in_pool serialization (moneromooo-monero)
2017-09-25serialization: add deque serializationmoneromooo-monero2-2/+34
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 Winget2-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
2017-09-05json serialization for rpc-relevant monero typesThomas Winget3-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
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni10-10/+10
2016-09-26serialization: add support for serializing std::pair and std::listmoneromooo-monero3-4/+219
2016-08-28serialization: add override for serializing boolmoneromooo-monero1-0/+6
2016-08-28make rct tx serialization workmoneromooo-monero1-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...
2016-08-28rct: add serialization machinery to rct typesmoneromooo-monero1-0/+29
2016-08-28serialization: declare do_serialize specializations before usemoneromooo-monero1-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.
2016-01-25even more typosHenning Kopp1-2/+2
2016-01-25more typos fixedHenning Kopp1-2/+2
2016-01-25fixed typoHenning Kopp1-1/+1
2015-12-31updated copyright yearRiccardo Spagni10-10/+10
2015-08-09encrypted payment ids are now 64 bit, instead of 256 bitmoneromooo-monero1-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.
2015-02-202014 network limit 1.1 +utils +toc -doc -drmonerorfree2monero1-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
2015-01-02year updated in licenseRiccardo Spagni10-10/+10
2014-10-15fixed errant >Riccardo Spagni1-1/+1
2014-10-13Commented most of src/serialization/ going to read up more on variant's and ↵jebes5-101/+319
finish off the job/add last touchs next
2014-07-23License updated to BSD 3-clausefluffypony10-30/+290
2014-07-01Improved (fixed?) serialization for vec<uint32_t>Zachary Michaels1-0/+7
2014-07-01Add missing pragmaZachary Michaels1-0/+2
2014-07-01Add missing pragmaZachary Michaels1-0/+2
2014-07-01Add missing pragmaZachary Michaels1-0/+2
2014-05-250.8.8updatemydesktop2-1/+7
2014-05-13Update serialization.hNoodleDoodleNoodleDoodleNoodleDoodleNoo1-1/+6
1. Added VARINT_FIELD_N(t,f) macro required for tx_extra_merge_mining_tag serialization.
2014-05-03initial [broken] updatemydesktop1-1/+1
2014-03-03moved all stuff to githubAntonio Juarez10-0/+816