aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/cryptonote_format_utils.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Establish Monzero Phase 0 and inactive assets baselinemonzero-phase0-assets-prototype-20260815Monzero Build System22 hours1-2/+14
|
* cryptonote_basic: pruned hash return boolj-berman2026-04-211-5/+5
|
* cryptonote_basic: fix add_extra_nonce_to_tx_extra() lengthjeffro2562026-02-241-4/+8
| | | | Missing unit tests.
* cryptonote_basic: remove redundant call to get_transaction_hash() in overloadjeffro2562025-10-061-1/+0
| | | | Issue noticed by DataHoarder.
* blockchain sync: reduce disk writes from 2 to 1 per txjeffro2562025-03-101-0/+14
|
* build: fix build with Boost 1.85 and remove instances of viewkey logging ↵jeffro2562024-09-101-2/+2
| | | | | | | | | | | [RELEASE] 1. Use std::is_standard_layout and std::is_trivially_copyable instead of std::is_pod for KV byte-wise serialization, which fixes compile issue for Boost UUIDs 2. Removed reimplementation of std::hash for boost::uuids::uuid 3. Removed << operator overload for crypto::secret_key 4. Removed instances in code where private view key was dumped to the log in plaintext Release version of #9450, containing C++14 modified assertions
* cryptonote_basic: fix amount overflow detection on 32-bit systems [RELEASE]jeffro2562023-06-021-1/+1
|
* ledger support for hf 15 (BP+, view tags)j-berman2022-08-061-6/+14
|
* cryptonote_basic: catch crypto api errorsmoneromooo-monero2022-06-201-2/+2
|
* Preserve commitment format inside transactionsLuke Parker2022-04-211-1/+1
|
* Add view tags to outputs to reduce wallet scanning timej-berman2022-04-181-26/+133
| | | | | | | | | | | | | 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.
* Fee changes from ArticMinemoneromooo-monero2022-04-101-0/+63
| | | | | | https://github.com/ArticMine/Monero-Documents/blob/master/MoneroScaling2021-02.pdf with a change to use 1.7 instead of 2.0 for the max long term increase rate
* Merge pull request #8197luigi11112022-04-061-1/+1
|\ | | | | | | da9aa1f Copyright: Update to 2022 (mj-xmr)
| * Copyright: Update to 2022mj-xmr2022-03-041-1/+1
| |
* | store outPk/8 in the tx for speedmoneromooo-monero2022-04-051-1/+1
| | | | | | | | | | | | It avoids dividing by 8 when deserializing a tx, which is a slow operation, and multiplies by 8 when verifying and extracing the amount, which is much faster as well as less frequent
* | plug bulletproofs plus into consensusmoneromooo-monero2022-04-051-9/+38
|/
* multisig key exchange update and refactorkoe2022-02-221-1/+20
|
* cmake: fix undefined symbols and multiple definitionsanon2021-07-131-16/+0
|
* Improve cryptonote (block and tx) binary read performanceLee Clagett2021-01-231-45/+15
|
* Split epee/string_tools.h and encapsulate boost::lexical_castmj-xmr2021-04-161-0/+1
|
* Merge pull request #6810luigi11112021-03-201-0/+19
|\ | | | | | | 19b2283 New add_aux_pow RPC to support merge mining (moneromooo-monero)
| * New add_aux_pow RPC to support merge miningmoneromooo-monero2021-02-091-0/+19
| |
* | Remove unused variables in monero codebaseKevin Barbour2021-02-091-1/+0
|/ | | | | | | | | | | There are quite a few variables in the code that are no longer (or perhaps never were) in use. These were discovered by enabling compiler warnings for unused variables and cleaning them up. In most cases where the unused variables were the result of a function call the call was left but the variable assignment removed, unless it was obvious that it was a simple getter with no side effects.
* Integrate CLSAGs into moneromoneromooo-monero2020-08-271-3/+6
| | | | They are allowed from v12, and MLSAGs are rejected from v13.
* Avoid some temporary strings when reading off the databasemoneromooo-monero2020-08-171-17/+20
|
* Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
| | | | Update copyright year to 2020
* Merge pull request #6472luigi11112020-05-061-0/+2
|\ | | | | | | 2efbd5f cryptonote: fix reuse of non default tx data when relaying (moneromooo-monero)
| * cryptonote: fix reuse of non default tx data when relayingmoneromooo-monero2020-04-221-0/+2
| | | | | | | | | | | | An automatic tx variable is initialized properly on the first run through the loop, but not the second. Moving the variable inside the loop ensures the ctor is called again to init it.
* | Merge pull request #6436luigi11112020-05-011-0/+14
|\ \ | |/ |/| | | 688a3e8 Add timelock verification on device (cslashm)
| * Add timelock verification on devicecslashm2020-04-081-0/+14
| |
* | Hash domain separationSarang Noether2020-04-011-2/+0
|/
* print_coinbase_tx_sum now supports 128 bits sumsmoneromooo-monero2019-12-121-2/+16
| | | | The tail emission will bring the total above 64 bits
* cryptonote: add function to get weight from a pruned txmoneromooo-monero2019-10-111-11/+65
| | | | | The weight of the prunable data is deterministic from the unpruned data, so it can be determined from a pruned tx
* Merge pull request #5915luigi11112019-10-081-12/+21
|\ | | | | | | 8330e77 monerod can now sync from pruned blocks (moneromooo-monero)
| * monerod can now sync from pruned blocksmoneromooo-monero2019-09-271-12/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | RandomX integrationHoward Chu2019-09-251-22/+0
|/ | | | Support RandomX PoW algorithm
* cryptonote: throw on tx hash calculation errormoneromooo-monero2019-06-141-3/+3
|
* Merge pull request #5380Riccardo Spagni2019-04-111-2/+0
|\ | | | | | | | | | | 113e4877 blockchain_stats: fix sign in formatting function (moneromooo-monero) adaea3ea various: remove unused variables (moneromooo-monero) 631ef00e blockchain: some debug info when adding txes-from-block fails (moneromooo-monero)
| * various: remove unused variablesmoneromooo-monero2019-04-011-2/+0
| |
* | cryptonote_basic: some more minor speedupsmoneromooo-monero2019-03-251-4/+16
| |
* | cryptonote_basic: speedup calculate_block_hashmoneromooo-monero2019-03-251-2/+7
| | | | | | | | | | The block 202612 fix can be left tested at the end, if we already know we're not in the general case
* | cryptonote: block parsing + hash calculation speedupmoneromooo-monero2019-03-251-3/+27
|/ | | | This saves a duplicate serialization step
* cryptonote: fix calculating coinbase tx hashmoneromooo-monero2019-03-211-10/+6
| | | | | Also set error flag on exception when handling new txes to keep tests working
* Merge pull request #5211Riccardo Spagni2019-03-211-0/+5
|\ | | | | | | | | | | c9b13fbb tests/trezor: HF9 and HF10 tests (Dusan Klinec) a1fd1d49 device/trezor: HF10 support added, wallet::API (Dusan Klinec) d74d26f2 crypto: hmac_keccak added (Dusan Klinec)
| * device/trezor: HF10 support added, wallet::APIDusan Klinec2019-03-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | - import only key images generated by cold signing process - wallet_api: trezor methods added - wallet: button request code added - const added to methods - wallet2::get_tx_key_device() tries to decrypt stored tx private keys using the device. - simplewallet supports get_tx_key and get_tx_proof on hw device using the get_tx_key feature - live refresh enables refresh with trezor i.e. computing key images on the fly. More convenient and efficient for users. - device: has_ki_live_refresh added - a thread is watching whether live refresh is being computed, if not for 30 seconds, it terminates the live refresh process - switches Trezor state
* | Merge pull request #5135Riccardo Spagni2019-03-171-0/+1
|\ \ | | | | | | | | | de32dcea Human readable message if maximum outputs reached (italocoin)
| * | Human readable message if maximum outputs reacheditalocoin2019-02-101-0/+1
| | |
* | | Update 2019 copyrightbinaryFate2019-03-051-1/+1
| |/ |/|
* | cryptonote: speed up calculating coinbase tx prunable hashmoneromooo-monero2019-03-051-2/+9
| | | | | | | | It's a hash of an empty buffer, so we can avoid keccak
* | core: avoid calculating tx prefix hash when we don't need itmoneromooo-monero2019-03-051-1/+8
| |