summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5638v0.14.1.0Riccardo Spagni2019-06-143-1/+2
|\ | | | | | | 6ed1679b prep for 0.14.1 release (Riccardo Spagni)
| * prep for 0.14.1 releaseRiccardo Spagni2019-06-133-1/+2
| |
* | rpc: restrict the recent cutoff size in restricted RPC modemoneromooo-monero2019-06-141-0/+9
| |
* | ensure no NULL is passed to memcpymoneromooo-monero2019-06-142-3/+4
| | | | | | | | | | NULL is valid when size is 0, but memcpy uses nonnull attributes, so let's not poke the bear
* | serialization: check stream good flag at the endmoneromooo-monero2019-06-143-6/+6
| | | | | | | | just in case
* | tree-hash: allocate variable memory on heap, not stackmoneromooo-monero2019-06-141-5/+7
| | | | | | | | | | | | Large amounts might run out of stack Reported by guidov
* | cryptonote: throw on tx hash calculation errormoneromooo-monero2019-06-141-3/+3
| |
* | serialization: fail on read_varint errormoneromooo-monero2019-06-141-1/+2
| |
* | cryptonote_protocol: fix another potential P2P DoSmoneromooo-monero2019-06-141-0/+15
| | | | | | | | | | When asking for txes in a fluffy transaction, one might ask for the same (large) tx many times
* | cryptonote_protocol: expand basic DoS protectionmoneromooo-monero2019-06-142-4/+4
| | | | | | | | Count transactions as well
* | cryptonote_protocol_handler: prevent potential DoSanonimal2019-06-142-0/+12
|/ | | | | | | | | | Essentially, one can send such a large amount of IDs that core exhausts all free memory. This issue can theoretically be exploited using very large CN blockchains, such as Monero. This is a partial fix. Thanks and credit given to CryptoNote author 'cryptozoidberg' for collaboration and the fix. Also thanks to 'moneromooo'. Referencing HackerOne report #506595.
* Merge pull request #5614luigi11112019-06-113-4/+21
|\ | | | | | | | | | | 4cff925 p2p: fix GCC 9.1 crash (monermooo-monero) f47488c Fix GCC 9.1 build warnings (moneromooo-monero) ce13a98 cmake: do not use -mmitigate-rop on GCC >= 9.1 (moneromooo-monero)
| * Fix GCC 9.1 build warningsmoneromooo-monero2019-06-092-0/+15
| | | | | | | | GCC wants operator= aand copy ctor to be both defined, or neither
| * p2p: fix GCC 9.1 crashmoneromooo-monero2019-06-081-4/+6
| |
* | miner: fix double free of thread attributesston1th2019-06-094-18/+8
|/ | | | issue: #5568
* Merge pull request #5578Riccardo Spagni2019-06-011-1/+7
|\ | | | | | | b7a96a08 core: update pruning if using --prune-blockchain on a pruned blockchain (moneromooo-monero)
| * core: update pruning if using --prune-blockchain on a pruned blockchainmoneromooo-monero2019-05-281-1/+7
| | | | | | | | | | Avoids a massive amount of spurious warnings if the last update before the daemon exited was a while ago and the daemon was syncing
* | Merge pull request #5572Riccardo Spagni2019-06-015-14/+54
|\ \ | | | | | | | | | | | | a663ccba blockchain: do not try to pop blocks down to the genesis block (moneromooo-monero) 8f2a99d8 core: do not commit half constructed batch db txn (moneromooo-monero)
| * | blockchain: do not try to pop blocks down to the genesis blockmoneromooo-monero2019-05-261-0/+3
| | |
| * | core: do not commit half constructed batch db txnmoneromooo-monero2019-05-255-14/+51
| |/
* | Merge pull request #5565Riccardo Spagni2019-06-0114-142/+131
|\ \ | | | | | | | | | | | | | | | 4456a4b9 Fix allow any cert mode in wallet rpc when configured over rpc (Lee Clagett) fafc5c36 Add ssl_options support to monerod's rpc mode. (Lee Clagett) ce73cc3a Fix configuration bug; wallet2 --daemon-ssl-allow-any-cert now works. (Lee Clagett)
| * | Fix allow any cert mode in wallet rpc when configured over rpcLee Clagett2019-05-211-1/+5
| | |
| * | Add ssl_options support to monerod's rpc mode.Lee Clagett2019-05-2113-140/+122
| | |
| * | Fix configuration bug; wallet2 --daemon-ssl-allow-any-cert now works.Lee Clagett2019-05-211-1/+4
| |/
* | Merge pull request #5564Riccardo Spagni2019-06-011-1/+2
|\ \ | |/ |/| | | b6830db2 Fix #5553 (Howard Chu)
| * Fix #5553Howard Chu2019-05-191-1/+2
| | | | | | | | Make sure the tip hash still matches the cached block
* | wallet: add unlock_time details to show_transfersmoneromooo-monero2019-05-165-7/+30
| | | | | | | | | | also add a note when receiving the tx, because the user might not notice the "XXX blocks to unlock" in the balance.
* | Merge pull request #5539Riccardo Spagni2019-05-151-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 3f612cda Changed odd bullet point to low level header (Rohaq) af9bc4ec Used subeaders to avoid slightly wonky looking formatting (Rohaq) 1873af35 Made code block usage consistent across all .md files (Rohaq) 68103075 Updated Copyright notice (Rohaq) 39bd157f Added Table of Contents to main README.md (Rohaq)
| * | Made code block usage consistent across all .md filesRohaq2019-05-121-1/+1
| | |
* | | Merge pull request #5535Riccardo Spagni2019-05-151-5/+1
|\ \ \ | |_|/ |/| | | | | e1016bce password: do not use line input on windows (moneromooo-monero)
| * | password: do not use line input on windowsmoneromooo-monero2019-05-101-5/+1
| |/ | | | | | | | | | | This keeps its builtin command editing away Thanks iDunk for testing on Windows
* | Merge pull request #5538luigi11112019-05-142-2/+2
|\ \ | | | | | | | | | 615f287 wallet: fix certificate fingerprint length check (moneromooo-monero)
| * | wallet: fix certificate fingerprint length checkmoneromooo-monero2019-05-112-2/+2
| |/ | | | | | | Fixed by crCr62U0
* | Merge pull request #5532luigi11112019-05-141-1/+9
|\ \ | | | | | | | | | 46244dd wallet_rpc_server: use original addresses in destinations in get_transfers (moneromooo-monero)
| * | wallet_rpc_server: use original addresses in destinations in get_transfersmoneromooo-monero2019-05-101-1/+9
| |/ | | | | | | And add them for pending transfers, where they were missing
* | Merge pull request #5526luigi11112019-05-141-0/+7
|\ \ | | | | | | | | | 1e8f3f6 rpc: fail update RPC when running offline (moneromooo-monero)
| * | rpc: fail update RPC when running offlinemoneromooo-monero2019-05-091-0/+7
| |/
* | Merge pull request #5512luigi11112019-05-141-1/+1
|\ \ | |/ |/| | | d47292e error: fix compile error on windows with depends (moneromooo-monero)
| * error: fix compile error on windows with dependsmoneromooo-monero2019-05-021-1/+1
| | | | | | | | state_not_recoverable is not defined there
* | Merge pull request #5510Riccardo Spagni2019-05-077-15/+15
|\ \ | | | | | | | | | e9809382 fix wide difficulty conversion with some versions of boost (moneromooo-monero)
| * | fix wide difficulty conversion with some versions of boostmoneromooo-monero2019-05-017-15/+15
| |/
* | Merge pull request #5508Riccardo Spagni2019-05-071-4/+2
|\ \ | | | | | | | | | 1c44e658 wallet2: reject standalone short payment IDs in monero: URI API (moneromooo-monero)
| * | wallet2: reject standalone short payment IDs in monero: URI APImoneromooo-monero2019-05-011-4/+2
| |/
* | Merge pull request #5505Riccardo Spagni2019-05-071-1/+1
|\ \ | | | | | | | | | 7e5158aa mnemonics: fix 4 byte UTF-8 rewriting (moneromooo-monero)
| * | mnemonics: fix 4 byte UTF-8 rewritingmoneromooo-monero2019-04-301-1/+1
| |/
* | Merge pull request #5503Riccardo Spagni2019-05-071-4/+4
|\ \ | | | | | | | | | ccc1e311 wallet_rpc_server: reject standalone short payment id in address book (moneromooo-monero)
| * | wallet_rpc_server: reject standalone short payment id in address bookmoneromooo-monero2019-04-301-4/+4
| |/
* | Merge pull request #5501Riccardo Spagni2019-05-071-2/+5
|\ \ | | | | | | | | | b4ca72dd wallet2: fix infinite loop picking outputs in corner case (moneromooo-monero)
| * | wallet2: fix infinite loop picking outputs in corner casemoneromooo-monero2019-04-291-2/+5
| |/ | | | | | | | | | | | | If we have fewer outputs available on the chain than what we require, but the output we're spending already has a ring, it would loop picking outputs randomly, but never find enough. Also tune logs for better debugging this kind of thing.
* | Merge pull request #5499Riccardo Spagni2019-05-073-34/+37
|\ \ | | | | | | | | | a4c4a2d8 blockchain: keep a rolling long term block weight median (moneromooo-monero)