aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2015-01-04add new checkpointing behavior to Blockchain classThomas Winget2-3/+78
2015-01-04Store output pubkeys separately, bug fixesThomas Winget2-9/+54
2015-01-04Minor bugfixes, redundancy removalThomas Winget3-10/+104
Minor bugfixes in block removal Storing outputs outside their transactions is largely unnecessary, and thus has been removed.
2015-01-04moar bug fixes, removed debug printsThomas Winget2-8/+4
2015-01-04BlockchainLMDB seems to be working*!Thomas Winget3-141/+155
* - Well, mostly. Haven't let it sync too far just yet. Currently trying to figure out the best way to deal with LMDB/mmap virtual memory pages.
2015-01-04some bug fixes, but still needs workThomas Winget3-35/+73
There are quite a few debug prints in this commit that will need removed later, but for posterity (in case someone wants to debug this while I'm away), I left them in. Currently errors when syncing on the first block that has a "real" transaction. Seems to not be able to validate the ring signature, but I can't for the life of me figure out what's going wrong.
2015-01-04Minor bug fixes and debug printsThomas Winget2-6/+122
Blockchain and BlockchainLMDB classes now have a debug print at the beginning of each function at log level 2. These can be removed at any time, but for now are quite useful. Blockchain runs, and adds the genesis block just fine, but for some reason isn't getting new blocks.
2015-01-04minor fixes to Blockchain.cppThomas Winget2-3/+7
2015-01-04Integrate BlockchainDB into cryptonote_coreThomas Winget8-24/+58
Probably needs more looking at -- lot of things were done...in a rushed sort of way. That said, it all builds and *should* be at least testable. update for rebase (warptangent 2015-01-04) fix conflicts with upstream CMakeLists.txt files src/CMakeLists.txt (remove edits from original commit) tests/CMakeLists.txt (remove edits from original commit) src/cryptonote_core/CMakeLists.txt (edit) - use blockchain db .cpp and .h files - add LMDB_LIBRARIES
2015-01-04All LMDB BlockchainDB implemented, not testedThomas Winget2-135/+900
All of the functionality for the LMDB implementation of BlockchainDB is implemented, but only what is in tests/unit_tests/BlockchainDB.cpp has been tested. This is basically add a block, see if you can get the block and a tx from the block. More tests should be added at some point.
2015-01-04LMDB blockchain: remove outputs and spent keysThomas Winget1-0/+63
2015-01-04Adding block data to LMDB BlockchainDB codedThomas Winget3-8/+258
Still needs testing (and need to write a few more unit tests), but everything should be there. Lots of unfortunate duplication, but...well, I can't see a way around it using LMDB. A couple of other minor changes in this commit, only slightly relevant.
2015-01-04Parts of LMDB impl of BlockchainDB done and workingThomas Winget4-69/+431
The rest should just be tedious copypasta and modification.
2015-01-04Initial commit of lmdb BlockchainDB implThomas Winget2-0/+472
2015-01-04Initial commit of BlockchainDB tests, other miscThomas Winget2-6/+25
miscellaneous changes to BlockchainDB/blockchain as well, namely replacing instances of std::list with std::vector
2015-01-04update new blockchain to build with new changesThomas Winget2-13/+34
Still need to add in the new checkpointing functionality, as well as touch up a few things, but is okay for now.
2015-01-04stupid past me, fixing typos and shit...Thomas Winget1-21/+21
2015-01-04missing typedefThomas Winget1-0/+3
2015-01-04import of BlockchainDB filesThomas Winget4-0/+3003
tried rebasing, tree-filter, and many other things. at this point, the history of these files previous to this can live on in my bc2 branch, as I'm importing them as-is to here.
2015-01-02year updated in licenseRiccardo Spagni137-139/+139
2014-12-13Merge pull request #203Riccardo Spagni3-4/+41
583cf0a Document existing function (warptangent) 95eb944 Repeat prompt for wallet path if invalid (warptangent)
2014-12-13Merge pull request #202Riccardo Spagni1-2/+0
d7aafd5 wallet2::rewrite update to not require bin file (warptangent)
2014-12-13Merge pull request #201Riccardo Spagni1-7/+9
9b7e0a0 wallet2::load correctly initialize m_blockchain for wallet loaded without bin file (warptangent)
2014-12-13Merge pull request #200Riccardo Spagni4-0/+125
cfc8c55 Add simple_wallet::seed_set_language method (warptangent) 26b87df Add wallet2::verify_password method (warptangent)
2014-12-13onwards to 0.8.8.7Riccardo Spagni1-1/+1
Signed-off-by: Riccardo Spagni <ric@spagni.net>
2014-12-11Document existing functionwarptangent1-0/+6
2014-12-11Repeat prompt for wallet path if invalidwarptangent3-4/+35
simplewallet run without a wallet path argument should prompt again if an invalid path was entered. Validity here currently means the string isn't empty.
2014-12-10wallet2::rewrite update to not require bin filewarptangent1-2/+0
Allow pre-JSON wallet format to load without depending on existing bin file. Don't write bin file while inside keys rewrite, so bin file write behavior here matches that of regular wallet load.
2014-12-10wallet2::load correctly initialize m_blockchain for wallet loaded without ↵warptangent1-7/+9
bin file Fix for simplewallet loading a wallet with a keys file but no bin file. - this situation previously required a user to restart simplewallet before it would refresh its blockchain from the server.
2014-12-08Add simple_wallet::seed_set_language methodwarptangent2-0/+72
Add simple_wallet::set_variable method to provide top-level "set" command and support "set seed language" command.
2014-12-08Add wallet2::verify_password methodwarptangent2-0/+53
Allows wallet password to be verified without changing wallet state.
2014-12-08version bump to 0.8.8.6v0.8.8.6Riccardo Spagni1-1/+1
2014-12-08Merge pull request #196Riccardo Spagni3-34/+67
f9822c4 wallet JSON update for non-deterministic wallet data (warptangent) 4c6230d Checking and handling for deterministic vs non-deterministic wallet (warptangent) 1beedb9 Extract check for deterministic keys to wallet2::is_deterministic() (warptangent) 359ede3 indentation (warptangent) 2290eff replace lines with call to recently added print_seed() (warptangent)
2014-12-08Merge pull request #183Riccardo Spagni1-1/+5
250254c Exception handling while refreshing in rpc wallet (credits to QCN) (Sammy Libre)
2014-12-06wallet JSON update for non-deterministic wallet datawarptangent1-4/+10
wallet2::store_keys() and wallet2::load_keys() should only use the JSON attribute "seed_language" when applicable. That is only for deterministic wallets. - store_keys() don't add JSON attribute "seed_language" if seed_language is empty - load_keys() don't call set_seed_language if JSON attribute "seed_language" not present
2014-12-06Checking and handling for deterministic vs non-deterministic walletwarptangent1-19/+35
simple_wallet::seed() - Check that wallet is deterministic. simple_wallet::new_wallet() - Prompt for seed language only if it's a non-deterministic wallet, along with previous conditions. simple_wallet::open_wallet() - Fixed check for deterministic wallet (flag based on command line non-deterministic argument was used before, but it's inapplicable to opening an existing wallet). - As with deterministic wallet, non-deterministic also included to be rewritten to new JSON format file. That's what's done for newly generated non-deterministic wallets, so old versions should be updated to same format.
2014-12-06Extract check for deterministic keys to wallet2::is_deterministic()warptangent2-6/+20
It's cleaner for wallet2.cpp and it also allows deterministic check by simplewallet.cpp.
2014-12-06indentationwarptangent1-1/+1
2014-12-06replace lines with call to recently added print_seed()warptangent1-4/+1
2014-12-02increased version number for tagged releasev0.8.8.5Riccardo Spagni1-1/+1
2014-12-02fixed CMake version matchingRiccardo Spagni1-1/+1
2014-12-02Merge pull request #186Riccardo Spagni3-6/+3
3300ae5 remove unused display variable (warptangent) 0e0e557 return true on success (warptangent) 2e11eb1 deterministic wallet use of twelve words fixed (warptangent) 21a3c46 ensure that keccak is called on view spend key, not a possibly pre-sc_reduce32 version of it - for deriving view secret key (warptangent)
2014-12-01prompt for seed language and error handlingwarptangent3-0/+24
- "seed" simplewallet command was only displaying seed if wallet was newly generated
2014-12-01remove unused display variablewarptangent1-3/+0
2014-12-01return true on successwarptangent1-1/+1
2014-12-01deterministic wallet use of twelve words fixedwarptangent1-1/+1
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-12-01moved rapidjson to external folder, fixed CMakeRiccardo Spagni24-8020/+0
2014-12-01Merge pull request #1Riccardo Spagni28-30/+8195
f1eaf88 Prints seed after wallet upgrade. Removed iostream include. (Oran Juice) 70971be Doxygen comments (Oran Juice) 031ca23 Rewrites to old wallet file correctly (Oran Juice) 1f833dc Doxygen comments in (Oran Juice) 0bd88ff Writes seed language while generating wallet. Wallet open fix. (Oran Juice) 09a659e Stores seed language in wallet file. added rapidjson. Yet to test backward compatibility (Oran Juice)
2014-11-26Merge pull request #188Riccardo Spagni5-9/+10
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 Spagni12-53/+684
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-18cmake: place binaries together in the build treeBen Boeckel1-0/+3
This allows Windows to copy binaries to one place rather than to each executable directory.
2014-11-11Disable legacy fees for nowiamsmooth2-2/+2
2014-11-09Remove DEFAULT_FEE, add temporary acceptance of too-small per-kb fee >= 0.1, ↵iamsmooth5-9/+10
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 fees not passing correct fee to transfer()Thomas Winget1-2/+1
2014-11-06Should now properly do per-kb feeThomas Winget1-1/+2
I'm an idiot.
2014-11-06per kb feesThomas Winget3-3/+22
2014-11-01Exception handling while refreshing in rpc wallet (credits to QCN)Sammy Libre1-1/+5
2014-10-24cmake: Windows and static builds need thisBen Boeckel1-1/+1
2014-10-24cmake: fix up link linesBen Boeckel3-1/+3
2014-10-24cmake: support 2.8.7Ben Boeckel10-12/+12
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: fix up miniupnpc's defineBen Boeckel1-3/+5
It's only necessary on Windows builds and new versions renamed the define without any compatibility bridge.
2014-10-23cmake: clean up if auto-dereferencingBen Boeckel1-1/+1
CMake will auto-dereference variable names in if statements, so there's no need to dereference them manually.
2014-10-23cmake: handle private vs. public headersBen Boeckel11-20/+81
2014-10-23cmake: refactor common code with librariesBen Boeckel7-51/+18
2014-10-23cmake: refactor common code with executablesBen Boeckel5-72/+28
2014-10-23cmake: put each library into its own directoryBen Boeckel11-51/+691
This cleans up the CMake code and shows patterns more easily (to be refactored in the next commit).
2014-10-23Merge pull request #182Riccardo Spagni1-0/+2
1795c38 fixed unit tests (Riccardo Spagni) bc537ac miniupnpc static define change (Riccardo Spagni)
2014-10-19Prints seed after wallet upgrade. Removed iostream include.Oran Juice3-6/+26
2014-10-19Doxygen commentsOran Juice2-21/+40
2014-10-19Rewrites to old wallet file correctlyOran Juice3-3/+18
2014-10-18Doxygen comments inOran Juice2-5/+37
2014-10-18Writes seed language while generating wallet. Wallet open fix.Oran Juice3-22/+38
2014-10-18Stores seed language in wallet file. added rapidjson. Yet to test backward ↵Oran Juice27-4/+8067
compatibility
2014-10-15fixed errant >Riccardo Spagni1-1/+1
2014-10-15Merge pull request #178Riccardo Spagni5-101/+319
b032619 Commented most of src/serialization/ going to read up more on variant's and finish off the job/add last touchs next (jebes)
2014-10-15Merge pull request #176Riccardo Spagni8-50/+48
b94b8cd Added unit test. Fails for Japanese for some reason. (Oran Juice) 4c8a628 Remove iostream header put in during testing (Oran Juice) 9875f5b Variable unique prefix lengths for seed (Oran Juice)
2014-10-15Merge pull request #174Riccardo Spagni1-2/+2
28dfb4b capitalize Keccak everywhere (David G. Andersen) ce2ad65 typo fix - cryptonight, not cryptonote (David G. Andersen)
2014-10-15fixed conflict in tests CMakeListsRiccardo Spagni1-10/+12
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-10-08Added unit test. Fails for Japanese for some reason.Oran Juice2-5/+6
2014-10-07Remove iostream header put in during testingOran Juice1-2/+0
2014-10-07Variable unique prefix lengths for seedOran Juice7-47/+46
2014-10-07miniupnpc static define changeRiccardo Spagni1-0/+2
2014-10-07Merge pull request #175Riccardo Spagni3-5/+7
b419075 added hardcoded checkpoint at block 249380 (Riccardo Spagni) 7c1d3b5 fixed miniupnpc dynamic target (Riccardo Spagni) 26728d9 mingw library tweaks (Riccardo Spagni) 2cf94c1 fix for mingw not playing nicely with libunbound configure, fix for correctly finding static libs on various operating systems (Riccardo Spagni) b05e27f need to link with -ldl on Linux when building statically (Riccardo Spagni) e55982a set the winsock variable differently on Windows (Riccardo Spagni) 0586a27 fixed configure_command for libunbound under mingw (Riccardo Spagni) f8fd036 turns out mingw does actually produce .a libs and not .dll.a (Riccardo Spagni) 6be3d1d added bison/yacc static build dependency (Riccardo Spagni) 1afba73 quieten CMake when it can't find packages (Riccardo Spagni) 735a017 removed required flags from miniupnp and unbound (Riccardo Spagni) 6b7ac4b enforce static libraries when building statically (Riccardo Spagni) 1d5991e include openssl in linbunbound static linking, added errors for openssl and expat (Riccardo Spagni) 6ef8ae8 reference the correct unbound static lib (Riccardo Spagni) 23cc93c added libtool's install command (Riccardo Spagni) 409e9ba use the correct CMake variable for static builds (Riccardo Spagni) 3a0b00a build libunbound correctly (Riccardo Spagni) 75a616f fix missing parentheses (Riccardo Spagni) 59172ee build libunbound from external if no local libunbound or for static builds (Riccardo Spagni) 1dee71a added static build dependency instructions to README (Riccardo Spagni) ff3a766 added static build dependency instructions to README (Riccardo Spagni) 5829b35 include openssl in linbunbound static linking, added errors for openssl and expat (Riccardo Spagni) c70fa86 reference the correct unbound static lib (Riccardo Spagni) 954a244 added libtool's install command (Riccardo Spagni) fd52015 use the correct CMake variable for static builds (Riccardo Spagni) cc0f6a6 build libunbound correctly (Riccardo Spagni) 8c00098 fix missing parentheses (Riccardo Spagni) cee8747 build libunbound from external if no local libunbound or for static builds (Riccardo Spagni) add1a60 added static build dependency instructions to README (Riccardo Spagni)
2014-10-07added hardcoded checkpoint at block 249380Riccardo Spagni1-0/+1
2014-10-06capitalize Keccak everywhereDavid G. Andersen1-1/+1
2014-10-06typo fix - cryptonight, not cryptonoteDavid G. Andersen1-1/+1
2014-10-06fix for mingw not playing nicely with libunbound configure, fix for ↵Riccardo Spagni1-4/+4
correctly finding static libs on various operating systems
2014-10-06use the correct CMake variable for static buildsRiccardo Spagni1-4/+4
2014-10-06build libunbound from external if no local libunbound or for static buildsRiccardo Spagni1-1/+2
2014-10-06Fix comment start for two functionsDavid G. Andersen1-2/+2
2014-10-06core_rpc_server: use do while(0) idiom in macros using ifmoneromooo-monero1-2/+2
2014-10-06core_rpc_server: fix overreads in slow_memmemmoneromooo-monero1-8/+10
It would read data outside the allocated space in a couple cases.
2014-10-06Merge pull request #170Riccardo Spagni1-5/+142
46f26ff another typo fix (David G. Andersen) ac6bc48 fix typo (David G. Andersen) d744dd1 More documentation (David G. Andersen) 4d493f6 initial doxygen commenting of the CryptoNight proof-of-work code (David G. Andersen)
2014-10-06Merge pull request #167Riccardo Spagni1-2/+2
aeaa44f fixed signed-unsigned issue from 166 (Thomas Winget)
2014-10-06minor English wordlist tweaksRiccardo Spagni1-23/+23
2014-10-05another typo fixDavid G. Andersen1-1/+1
2014-10-05split mnemonic printout over 3 linesRiccardo Spagni1-0/+4
2014-10-05fix typoDavid G. Andersen1-1/+1
2014-10-05More documentationDavid G. Andersen1-10/+63
2014-10-05initial doxygen commenting of the CryptoNight proof-of-work codeDavid G. Andersen1-1/+85
2014-10-05added other skipped commitRiccardo Spagni1-1/+1
2014-10-05added skipped commitRiccardo Spagni1-0/+1
2014-10-05added trim_length to language_base class, added license to langeuage_baseRiccardo Spagni5-1/+41
2014-10-05new English word list, trim length of 3, average word size of 6 letters, ↵Riccardo Spagni1-1288/+1288
designed to be a bit unusual and thus easier to memorise
2014-10-05fixed conflict in CMakeListsRiccardo Spagni16-3464/+9203
2014-10-05Uses new Japanese file. Gives credit to dabura667. English file indentation ↵Oran Juice2-2096/+2096
tabs to spaces.
2014-10-03fixed checkpointing bugRiccardo Spagni1-1/+1
2014-10-03quick hacky fix for broken TXT readsRiccardo Spagni1-1/+9
2014-10-03cleaned up OpenAlias messages in simplewalletRiccardo Spagni1-6/+6
2014-10-03Don't show Old English as an available optionOran Juice9-6653/+6653
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-10-02Had missed const and had to use .at instead of []Oran Juice1-5/+5
2014-10-02remove dangling upnp port mappings, updated miniupnpcRiccardo Spagni1-2/+10
2014-10-02remove pthreads, successfully tested on gcc 4.9.1 without pthreadsRiccardo Spagni1-4/+4
2014-10-02Stop copying word list files to build directoryOran Juice1-2/+0
2014-10-02Removed old word list fileOran Juice5-9399/+0
2014-10-02Use reference types on LHS when using language methodsOran Juice9-14/+114
2014-10-02Cut short word lists to 1626 words, added attribution to Electrum, some bug ↵Oran Juice8-9604/+8511
fixes
2014-10-02Restructured language sources to be singletonsOran Juice13-9868/+9791
2014-10-02Separated word lists to header filesOran Juice6-0/+9653
2014-10-02Merge pull request #165Riccardo Spagni13-88/+407
c0bdd51 Daemon should now exit on conflicting checkpoints (Thomas Winget) f0b4138 various changes to runtime checkpoint updating (Thomas Winget) 7568f89 Fixed segfault with checkpoints loading (Thomas Winget) b261d92 DNS checkpoint updating added, and daemon flag to enforce them (Thomas Winget) 30caebf reload checkpoints file every ~hr and print if any fail (Thomas Winget) 0e14491 updated DNSResolver/things that use it for DNSSEC (Thomas Winget) 6f2c2e1 Adding an identical existing checkpoint should not error (Thomas Winget)
2014-10-01simplewallet ignoring testnet port in RPC modeRiccardo Spagni1-1/+1
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 Winget3-2/+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 Winget7-16/+106
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 Winget10-73/+173
also some other minor bug squashing and code formatting
2014-09-30updated DNSResolver/things that use it for DNSSECThomas Winget3-10/+23
Note: DNSResolver does not yet *use* DNSSEC, but rather this commit is preparation for including DNSSEC validation. The function in src/wallet/wallet2.cpp that uses DNSResolver still needs its parameters updated accordingly.
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-30Added attribution to Electrum for their word-listsOran Juice4-0/+8
2014-09-30Is forgiving of spelling mistakes beyond the 1st 4 characters.Oran Juice2-32/+72
2014-09-30Change seed message to '25' words from '24' wordsOran Juice1-2/+2
2014-09-28Merge with origin/masterOran Juice20-58/+700
2014-09-28Minor comment changes and code clean-upOran Juice3-5/+5
2014-09-28Default to new style English seedOran Juice1-1/+1
2014-09-28Minor code refactor and comment changesOran Juice1-4/+4
2014-09-28CRC Checksum for word seed. Gives a new 25 word seed with checksum if one ↵Oran Juice3-41/+109
without checksum is passed. Doxygen comment fix.
2014-09-27Doxygen comments inOran Juice4-21/+134
2014-09-27Informs about old style mnemonics from older wallet and provides a new one. ↵Oran Juice8-6/+7792
CMakeLists.txt update.
2014-09-27Throw error when word list file is empty and quick bug fixOran Juice2-12/+40
2014-09-26Supports wallet restorationOran Juice2-19/+45
2014-09-25Accepts seed language choice from user.Oran Juice4-2/+59
2014-09-25Revert "low risk, potentially varint overflow bug patched thanks to BBR"Riccardo Spagni8-54/+14
This reverts commit 4e2b2b942daa4206ec44c66e59863670dfe3fde4.
2014-09-24Remove LDNS dep and fix a bug in libunbound const correctness fixThomas Winget2-4/+4
2014-09-24Removed ldns dependencyThomas Winget2-4/+9
ldns dependency was only still around for constants defined in ldns/rr.h, but those constants are RFC specified DNS constants, and to reduce deps have been replicated in dns_utils.h instead of including ldns/rr.h.
2014-09-24low risk, potentially varint overflow bug patched thanks to BBRRiccardo Spagni8-14/+54
2014-09-24libunbound has const correctness issues...Thomas Winget1-5/+19
2014-09-25Added ability to read chechpoint hashes from json file in data folderTomer Konforty4-0/+65
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-24redo FindUnbound.cmakeRiccardo Spagni1-4/+4
2014-09-24Copies word lists directory to the location of the executableOran Juice4-4/+11
2014-09-24use boost::asio::ip::address because cross-platform plzRiccardo Spagni1-96/+27
2014-09-24temp commitThomas Winget1-15/+42
2014-09-23Added function to check syntax of URL for DNS lookupThomas Winget2-8/+44
For now, simply checks for '.' character, but that will be easy to change in the future if necessary/desired.
2014-09-23Fixed artifacts from cherry-picking devel->masterThomas Winget1-2/+2
2014-09-23change to allow (at least a bit) for multiple TXT recordsThomas Winget5-23/+40
2014-09-23Simplewallet should now resolve urls to addressesThomas Winget1-2/+53
Simplewallet should now do a DNS query on an address if it fails to convert the given string to a binary representation of an address (base58->binary). It will prompt the user, telling of what the "url" passed was, what monero address it translated to, and whether or not DNSSEC validation was a success, and ask for a confirmation that these are all acceptable.
2014-09-23Monero addres from DNS TXT record implemented, tests passThomas Winget4-24/+102
Still need to deal with DNSSEC and optional fields in the TXT record.
2014-09-23seed node DNS code updated to use DNSResolverThomas Winget1-41/+111
Also implemented rudimentary IPv6 support, but commented it out because it's not widely supported by ISPs for now, and thus is not currently supported by Monero.
2014-09-23Use the loop iterator, previous version of me.Thomas Winget1-2/+2
2014-09-23ipv4 and ipv6 resolution workingThomas Winget4-32/+159
IPv4 and IPv6 name resolution working. Unit tests written (and passing). net_node.{h,inl} code modified to use DNS seeds.
2014-09-23Updated CMake files -- added libunbound linker flagThomas Winget1-4/+4
CMake config file written, but was unable to test/get it working properly because of a bug in CMake with functions related to find_package. Simple "-lunbound" flag used in its stead for now. May not build on non-Linux systems, not sure yet.
2014-09-23Initial commit of DNS codeThomas Winget2-0/+141
2014-09-23Check for error after opening word list fileOran Juice1-6/+11
2014-09-23Added code to separate old word list to raw input file and support for ↵Oran Juice3-3273/+1688
multiple new languages
2014-09-23Moved mnemonics code to src/mnemonicsOran Juice5-4/+8
2014-09-15Give up on brace initializers in initializer lists (MSVC bug)Zachary Michaels3-11/+11
2014-09-15another fix for CMake empty varsRiccardo Spagni1-3/+5
2014-09-15Prevent CMake choking on empty varsRiccardo Spagni1-0/+2
2014-09-15More robust versioning in CMake, plus commentsRiccardo Spagni1-13/+62
2014-09-15Fix time_t serialization issueZachary Michaels3-5/+9
On 32-bit MinGW-w64, time_t is int32_t. The existing code was serializing time_t directly and implicitly assuming that time_t is int64_t. This commit formalizes that assumption by serializing int64_t directly and casting to time_t where appropriate. Thanks go to greatwolf for reporting this issue. monero-project/bitmonero#88
2014-09-15Force CMake to link the runtime staticallyZachary Michaels1-0/+4
2014-09-15Another preprocessor fix (difficulty.cpp)Zachary Michaels1-1/+1
2014-09-15More preprocessor fixes for slow-hashZachary Michaels1-3/+3
2014-09-15Correct includes for mingw in slow-hashZachary Michaels1-0/+8
This needs testing
2014-09-15Change Windows include to windowsZachary Michaels1-1/+1
mingw is case sensitive
2014-09-15fix CMake for multiplatform versioningRiccardo Spagni1-1/+6
2014-09-15fixed incorrect version referenceRiccardo Spagni1-1/+1
2014-09-15Change testnet prefixZachary Michaels1-2/+2
2014-09-15Make P2P use the testnet data dirZachary Michaels1-1/+3
2014-09-15Replace macro with equivalent function callZachary Michaels1-49/+45
Also removed useless bool return
2014-09-15Separate testnet address prefixZachary Michaels17-54/+111
2014-09-15Add testnet seed nodesZachary Michaels1-3/+8
2014-09-15Create testnet data dir if necessaryZachary Michaels1-0/+1
2014-09-15Separate testnet default data dirZachary Michaels5-31/+44
2014-09-15Add descriptions for RPC command line paramsZachary Michaels1-3/+9
2014-09-15Add testnet genesis tx as output by CN referenceZachary Michaels1-1/+1
2014-09-15Pass tx and nonce to genesis block constructorZachary Michaels4-27/+42
2014-09-15Separate network id for testnetZachary Michaels2-3/+15
2014-09-15Separate rpc port for testnetZachary Michaels5-12/+44
2014-09-15Separate p2p port for testnetZachary Michaels2-5/+23