aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core (follow)
AgeCommit message (Collapse)AuthorFilesLines
2015-04-01Merge remote-tracking branch 'monero-official/master' into network-1.6-work1rfree2monero7-26/+95
2015-03-26Merge pull request #244Riccardo Spagni1-10/+17
e6740ee Enforce DNSSEC for checkpoint updates (Thomas Winget) dbf46a7 DNSSEC added (hardcoded key) (Thomas Winget)
2015-03-26Merge pull request #242Riccardo Spagni2-5/+8
b43716c Do store transaction's blob size in transaction_chain_entry (Sergey Kazenyuk) 3be518f Use single get_transaction_hash to get both id and blob size (Sergey Kazenyuk)
2015-03-24Enforce DNSSEC for checkpoint updatesThomas Winget1-10/+17
2015-03-24Merge upstream to daemonize changesThomas Winget3-1/+13
Preparation for PR
2015-03-15Do store transaction's blob size in transaction_chain_entrySergey Kazenyuk2-4/+5
2015-03-15Use single get_transaction_hash to get both id and blob sizeSergey Kazenyuk1-2/+4
2015-03-06update checkpointsmooth1-0/+1
2015-03-05add comment about avoiding overflowsmooth1-0/+6
2015-03-04minimum subsidy for mining incentives, remove unused LEGACY_FEE definesmooth2-1/+6
2015-03-01DNS checkpoint loading for testnet should now be correctThomas Winget4-4/+19
2015-02-24RPC calls for background daemon added inThomas Winget2-0/+7
The RPC calls the daemon executable uses to talk to the running daemon instance have mostly been added back in. Rate limiting has not been added in upstream, but is on its way in a separate effort, so those calls are still NOPed out.
2015-02-24Daemonize changes pulled in -- daemon buildsThomas Winget2-8/+33
many RPC functions added by the daemonize changes (and related changes on the upstream dev branch that were not merged) were commented out (apart from return). Other than that, this *should* work...at any rate, it builds, and that's something.
2015-02-202014 network limit 1.2 +utils +toc -doc -drmonerorfree2monero4-26/+28
new update of the pr with network limits more debug options: discarding downloaded blocks all or after given height. trying to trigger the locking errors. debug levels polished/tuned to sane values. debug/logging improved. warning: this pr should be correct code, but it could make an existing (in master version) locking error appear more often. it's a race on the list (map) of peers, e.g. between closing/deleting them versus working on them in net-limit sleep in sending chunk. the bug is not in this code/this pr, but in the master version. the locking problem of master will be fixed in other pr. problem is ub, and in practice is seems to usually cause program abort (tested on debian stable with updated gcc). see --help for option to add sleep to trigger the error faster.
2015-02-202014 network limit 1.1 +utils +toc -doc -drmonerorfree2monero4-3/+53
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-02-202014 network limit 1.0a +utils +toc -doc -drmonerorfree2monero3-0/+28
commands and options for network limiting works very well e.g. for 50 KiB/sec up and down ToS (QoS) flag peer number limit TODO some spikes in ingress/download TODO problems when other up and down limit added "otshell utils" - simple logging (with colors, text files channels)
2015-01-27replaced 64-bit multiplication in difficulty.cpp with a portable versionRiccardo Spagni1-4/+34
2015-01-02year updated in licenseRiccardo Spagni29-29/+29
2014-12-01ensure that keccak is called on view spend key, not a possibly ↵warptangent1-1/+1
pre-sc_reduce32 version of it - for deriving view secret key
2014-11-26Merge pull request #188Riccardo Spagni2-2/+2
dde7897 Disable legacy fees for now (iamsmooth) cc74b43 Remove DEFAULT_FEE, add temporary acceptance of too-small per-kb fee >= 0.1, denominations based on DEFAULT_DUST_THRESHOLD, document fee arg to create_transactions as unused, se DEFAULT_DUST_THRESHOLD for wallet dust collection instead of calcualted tx fee (iamsmooth)
2014-11-25Merge pull request #180Riccardo Spagni1-0/+80
ce71c01 cmake: work around a bug with implicit link directories (Ben Boeckel) de4fc40 mingw: copy required libraries to the build tree (Ben Boeckel) ec54e2f cmake: place binaries together in the build tree (Ben Boeckel) 18c56ab msys: don't use LTO (Ben Boeckel) 5680c9c msys: factor out -Werror on msys (Ben Boeckel) 4751542 msys: look in msys' directory for files (Ben Boeckel) d855fe4 miniupnpc: bump the _POSIX_C_SOURCE feature macro (Ben Boeckel) c696492 unbound: fix getaddrinfo detection for 32-bit windows (Ben Boeckel) e377687 cmake: Windows and static builds need this (Ben Boeckel) 01895dd cmake: fix up link lines (Ben Boeckel) 4b6515c unbound: fix type checking (Ben Boeckel) d43a20f unbound: plumb the libdir up (Ben Boeckel) 7d708e4 cmake: support 2.8.7 (Ben Boeckel) 464c280 cmake: fix up miniupnpc's define (Ben Boeckel) 9689df9 cmake: clean up EXTRA_LIBRARIES (Ben Boeckel) 3b7bdcb cmake: set the project name (Ben Boeckel) 0f0efc4 cmake: prepend to CMAKE_MODULE_PATH (Ben Boeckel) 031e3da cmake: remove scream-make (all-caps functions) (Ben Boeckel) abbd5c0 unbound: import cmake build system (Ben Boeckel) e59b5b7 miniupnpc: clean up build system (Ben Boeckel) 475fe20 cmake: minor cleanups (indentation and typos) (Ben Boeckel) 799e8b2 cmake: use option() for STATIC (Ben Boeckel) c24d22b cmake: clean up if auto-dereferencing (Ben Boeckel) 9ed415a build: inform the build of what generates version.h (Ben Boeckel) eba180a cmake: support git info in released tarballs (Ben Boeckel) eeffac6 cmake: fix up BOOST_IGNORE_SYSTEM_PATHS (Ben Boeckel) a43f1a8 cmake: remove configuration variables (Ben Boeckel) a87ce09 cmake: factor out error messages (Ben Boeckel) 9aa48b6 miniupnpc: clear out else/endfoo command arguments (Ben Boeckel) 8a86ac8 daemon_tests: update cmake code (Ben Boeckel) fa3ff75 gtest: support an external gtest (Ben Boeckel) 7bfcffa cmake: put each test executable in its own directory (Ben Boeckel) f53f047 cmake: handle private vs. public headers (Ben Boeckel) 55ca7d3 cmake: refactor common code with libraries (Ben Boeckel) c773f46 cmake: refactor common code with executables (Ben Boeckel) 89cff7b cmake: put each library into its own directory (Ben Boeckel)
2014-11-11Disable legacy fees for nowiamsmooth1-1/+1
2014-11-09Remove DEFAULT_FEE, add temporary acceptance of too-small per-kb fee >= 0.1, ↵iamsmooth2-2/+2
denominations based on DEFAULT_DUST_THRESHOLD, document fee arg to create_transactions as unused, se DEFAULT_DUST_THRESHOLD for wallet dust collection instead of calcualted tx fee
2014-11-06per kb feesThomas Winget1-2/+5
2014-10-24cmake: support 2.8.7Ben Boeckel1-2/+2
Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer versions prefer PUBLIC and PRIVATE instead, but still support the LINK_ prefix.
2014-10-23cmake: handle private vs. public headersBen Boeckel1-2/+7
2014-10-23cmake: refactor common code with librariesBen Boeckel1-9/+1
2014-10-23cmake: put each library into its own directoryBen Boeckel1-0/+83
This cleans up the CMake code and shows patterns more easily (to be refactored in the next commit).
2014-10-07added hardcoded checkpoint at block 249380Riccardo Spagni1-0/+1
2014-10-06Merge pull request #167Riccardo Spagni1-2/+2
aeaa44f fixed signed-unsigned issue from 166 (Thomas Winget)
2014-10-03fixed checkpointing bugRiccardo Spagni1-1/+1
2014-10-03MoneroPulse log wording tweaksRiccardo Spagni2-4/+5
2014-10-02fixed signed-unsigned issue from 166Thomas Winget1-2/+2
Loss of entropy can be discussed at a later time, but is not deemed a significant issue for now.
2014-10-02moved checkpoint log levelRiccardo Spagni1-1/+1
2014-10-02moved file checkpointing log output to log1Riccardo Spagni1-6/+6
2014-09-30Daemon should now exit on conflicting checkpointsThomas Winget2-0/+13
If the "enforce DNS checkpoints" flag is not enabled, it should not exit if DNS checkpoints conflict with the others, but should still print a warning to the user.
2014-09-30various changes to runtime checkpoint updatingThomas Winget7-23/+113
json checkpoints will be checked every 10 minutes, dns every 60. json checkpoints always enforced, dns still with flag. conflicting checkpoints is hard fail, but soft if dns enforce flag not set and dns checkpoints are wonky.
2014-09-30Fixed segfault with checkpoints loadingThomas Winget2-0/+10
Bounds checking on blockchain_storage' m_blocks.size() when validating against checkpoints. Also moved initial json & DNS checkpoints load to after blockchain init.
2014-09-30DNS checkpoint updating added, and daemon flag to enforce themThomas Winget6-14/+98
The daemon should now check for updated checkpoints from checkpoints.moneropulse.org as well as from the configured json file every ~1hr (and on launch). The daemon now has a flag to enable enforcing these checkpoints (rather than just printing a warning when they fail). TODO: an easily configurable list of DNS servers to check for checkpoints as opposed to the hard-coded "checkpoints.moneropulse.org"
2014-09-30reload checkpoints file every ~hr and print if any failThomas Winget8-71/+168
also some other minor bug squashing and code formatting
2014-09-30Adding an identical existing checkpoint should not errorThomas Winget1-2/+7
For checkpoints being read at runtime to work correctly, the checkpoint add code needs to not return false if a checkpoint is added that already exists. In this case, instead return false if the checkpoint is for a height that already has a checkpoint and the hashes are different.
2014-09-25Revert "low risk, potentially varint overflow bug patched thanks to BBR"Riccardo Spagni7-30/+13
This reverts commit 4e2b2b942daa4206ec44c66e59863670dfe3fde4.
2014-09-24low risk, potentially varint overflow bug patched thanks to BBRRiccardo Spagni7-13/+30
2014-09-25Added ability to read chechpoint hashes from json file in data folderTomer Konforty3-0/+60
2014-09-24checkpointiamsmooth1-0/+1
2014-09-24checkpointiamsmooth1-0/+2
2014-09-24checkpointsiamsmooth1-0/+5
2014-09-24checkpointiamsmooth1-0/+1
2014-09-24checkpointsiamsmooth1-3/+5
2014-09-15Another preprocessor fix (difficulty.cpp)Zachary Michaels1-1/+1
2014-09-15Separate testnet address prefixZachary Michaels7-14/+37
2014-09-15Separate testnet default data dirZachary Michaels2-4/+5
2014-09-15Pass tx and nonce to genesis block constructorZachary Michaels3-23/+34
2014-09-15Reorganize testnet constantsZachary Michaels2-6/+5
2014-09-15Add testnet flagZachary Michaels6-11/+51
Source: cryptonotefoundation
2014-09-13fix incorrect error message (obvious cut and paste bug from upstream)iamsmooth1-1/+1
2014-09-12output rng fix from boolberryiamsmooth1-2/+1
2014-09-09a few more error messages moved to log level 1fluffypony2-15/+15
2014-09-09moved non-critical warnings and errors to log level 1fluffypony3-72/+72
2014-09-06fix checkpointsiamsmooth2-4/+7
2014-09-06bug fix to checkpoint-on-restore; still fails on 612iamsmooth1-1/+1
2014-09-06checkpoints on restore; currently fails on 212 checkpointiamsmooth2-2/+24
2014-09-06override for get_block_longhash for block 202612Thomas Winget1-0/+7
2014-09-06added double-check for 202612 block idThomas Winget1-1/+13
if a new block has the same block id as 202612 but the wrong blobdata, this will tell the caller that the block id is actually null_hash rather than the 202612 block id.
2014-09-06hex_to_pod needs the destination as an arg, as opposed to it returning the podThomas Winget1-1/+1
2014-09-06Override for block hashing for block 202612Thomas Winget1-0/+10
Since we need to fix tree_hash, but doing so would invalidate the block id for block 202612, this fix should check to see if we're trying to get the block id for 202612 (if its blob hash matches) and return the "old" block id, for backwards compatibility.
2014-08-03restored wallets will have timestamp set to June 8 2014.Thomas Winget1-1/+17
2014-08-02Merge pull request #73 from jakoblind/refresh_heightRiccardo Spagni4-7/+11
Optional height parameter for wallet refresh
2014-08-01Merge pull request #64 from mikezackles/bytecoin_tx_pool_tmpRiccardo Spagni3-95/+82
tx pool fixes, courtesy of Bytecoin
2014-08-01#36 simplewallet refresh include optional height paramJakob Lind4-7/+11
height param is used optionally in refresh command TODO: This should also be the default behaviour when generating a new wallet.
2014-07-23License updated to BSD 3-clausefluffypony27-85/+783
2014-07-17Remove dead codeZachary Michaels1-17/+0
2014-07-17Remove second tx size checkZachary Michaels1-7/+0
2014-07-17Don't check max tx size when adding to blockZachary Michaels1-8/+0
This is now done when adding transactions to the pool.
2014-07-17Don't check for min fee when adding tx to blockZachary Michaels1-5/+0
This is now done when transactions enter the pool.
2014-07-17Decrease max block size from 200% median to 130%Zachary Michaels1-1/+3
2014-07-17Use print_money in logZachary Michaels1-1/+1
2014-07-17Minimum tx fee for entering poolZachary Michaels1-0/+8
2014-07-17Start fresh if tx_pool deserialize failsZachary Michaels1-2/+6
2014-07-17Add transaction size limitZachary Michaels1-0/+24
Transactions larger than the limit will not enter the pool
2014-07-17Use const where appropriate in tx_poolZachary Michaels3-50/+36
2014-07-17Make some tx_pool methods staticZachary Michaels1-2/+2
2014-07-17Make some tx_pool methods privateZachary Michaels1-6/+6
2014-07-01Remove unused functionZachary Michaels2-19/+0
2014-07-01Explicit namespacesZachary Michaels1-11/+8
2014-07-01Remove redeclarationZachary Michaels1-1/+0
2014-07-01C++ style castZachary Michaels1-1/+1
2014-07-01Comment unused functions in cryptonote_coreZachary Michaels2-15/+14
2014-06-26set max block size for gbtmydesktop1-0/+8
2014-06-24fix function typomonero-project1-1/+1
2014-06-24Fix copy/paste bug, thx Boolberrymonero-project1-3/+3
2014-06-16Update miner.cppNoodleDoodleNoodleDoodleNoodleDoodleNoo1-1/+4
1. Added support for scratchpad memory allocation.
2014-06-15proper tx_pool handling from CryptoZoidberg / BBRfluffypony3-1/+34
2014-06-14added checkpoint @ 80000monero-project1-0/+1
2014-06-12change hash for keygen from blake to keccaktom1-2/+2
2014-06-12allow two-random-numbers wallet generation (but not as default)Thomas Winget2-3/+3
2014-06-12fixed some pointer- and loop-based derpsThomas Winget1-0/+3
2014-06-12builds, but doesn't link. other than that, electrum-style recovery ↵Thomas Winget2-4/+11
implemented (but not tested\!)
2014-06-12defaulted new parameters in modified functionstom1-1/+1
2014-06-12most functions prototyped/modified for wallet recoveryThomas Winget2-2/+2
2014-06-11Fix for orphan fix (check blocksize)mydesktop2-0/+13
2014-06-04'getinfo' daemon HTTP-RPC returns 'target_height' for progress estimationsNeozaru2-1/+14
2014-06-01Merge bitmonero@monero-projectNeozaru12-81/+186
2014-05-28typo in tx_pool.cppmonero-project1-1/+1
2014-05-27fix typing mismatchmydesktop1-2/+9
2014-05-26dynamic tx size scaling for tx mempoolmydesktop1-0/+11
2014-05-26maximum block size 130% of medianmydesktop1-3/+14
2014-05-25temporary fix for block reward dosmydesktop1-1/+23
2014-05-25enable checkpointed block verificationmydesktop1-1/+1
2014-05-25'mining_status' Daemon RPC commandNeozaru2-6/+19
2014-05-250.8.8updatemydesktop11-80/+134
2014-05-13Update tx_extra.hNoodleDoodleNoodleDoodleNoodleDoodleNoo1-1/+52
1. Fixed bug where it's impossible to spend merge-mining blocks due to missing serialization support for "tx_etra_merge_mining_tag".
2014-05-08disable checkpointing for security reasonsmonero-project1-2/+6
Further investigation of fast sync security is required
2014-05-07Update cryptonote_format_utils.cppNoodleDoodleNoodleDoodleNoodleDoodleNoo1-2/+2
Fixed problem with integer saturation when summing summary_amounts and out_amounts in a 32-bit platform.
2014-05-07added checkpoint @ 29556monero-project1-0/+1
2014-05-03fix genesis block hash, checkpoint, days behindmydesktop2-3/+3
2014-05-03initial [broken] updatemydesktop7-73/+245
2014-04-30mac osx building fixesmydesktop2-4/+9
2014-04-30various fixes to allow mac osx compilationmydesktop1-1/+1
2014-04-25Changed block minor versionHenry Hartshorne1-2/+2
2014-04-20mining bug fixedthankful_for_today2-47/+14
2014-04-18checkpoints removedthankful_for_today1-11/+0
2014-04-18Bitmonero releasethankful_for_today2-4/+3
2014-04-09Port mapping with UPnPAntonio Juarez1-1/+2
2014-04-07Improvements in JSON RPCAntonio Juarez3-18/+8
2014-04-02json rpc for wallet and bugfixAntonio Juarez8-168/+200
2014-03-20some fixesAntonio Juarez6-35/+36
2014-03-03moved all stuff to githubAntonio Juarez27-0/+5782