aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2014-10-06build libunbound from external if no local libunbound or for static buildsRiccardo Spagni1-1/+2
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
2014-09-15Reorganize testnet constantsZachary Michaels10-71/+46
2014-09-15Add testnet constantsZachary Michaels1-0/+16
2014-09-15Add testnet flagZachary Michaels13-50/+135
Source: cryptonotefoundation
2014-09-15fix logic in tag check, AND -> ORRiccardo Spagni1-1/+1
Signed-off-by: Riccardo Spagni <ric@spagni.net>
2014-09-15ignore tag check if we haven't pulled tagsRiccardo Spagni1-1/+1
Signed-off-by: Riccardo Spagni <ric@spagni.net>
2014-09-15new Makefile target: release-staticRiccardo Spagni1-1/+1
2014-09-13Merge pull request #136Riccardo Spagni3-48/+51
bb2b606 fix incorrect error message (obvious cut and paste bug from upstream) (iamsmooth) 6b77e83 Change wallet to not try to extract tx public key when tx has no outputs (fixes 202612 tx format messages and is otherwise correct) (iamsmooth) 08205f0 output rng fix from boolberry (iamsmooth)
2014-09-13fix incorrect error message (obvious cut and paste bug from upstream)iamsmooth1-1/+1
2014-09-13Change wallet to not try to extract tx public key when tx has no outputs ↵iamsmooth1-45/+49
(fixes 202612 tx format messages and is otherwise correct)
2014-09-12output rng fix from boolberryiamsmooth1-2/+1
2014-09-12fixed cmake variable matchingRiccardo Spagni1-1/+1
2014-09-12versioning now includes the commit hash, or -final for tagged releasesRiccardo Spagni6-18/+31
2014-09-11HOW DO I ENGLISH?jebes1-1/+1
2014-09-11mispelled brief, corrected itjebes2-14/+14
2014-09-11Merge remote-tracking branch 'upstream/master'jebes11-122/+204
2014-09-11HOW DO I GIT?jebes1-1/+1
2014-09-11Documented varintjebes4-40/+80
2014-09-11added license to CMakefluffypony1-0/+30
2014-09-10more dynamic miniupnp fixesfluffypony1-2/+9
2014-09-10miniupnpc includes fixedfluffypony1-2/+2
2014-09-10miniupnpc changes for freebsdfluffypony1-2/+2
2014-09-10mmap on FreeBSD doesn't have MAP_HUGETLBfluffypony1-1/+1
2014-09-10Include sys/time.h on BSDfluffypony1-0/+2
2014-09-10replace ftime with gettimeofday on FreeBSD because lcompat is stupidfluffypony2-4/+32
2014-09-10make FreeBSD use -lcompat till we can fix ftime()fluffypony1-4/+4
2014-09-09commented util.hjebes4-44/+86
2014-09-09more FreeBSD fixesfluffypony1-2/+7
2014-09-09malloc.h reference fixed for FreeBSDfluffypony1-2/+2
2014-09-09FreeBSD alloca.h reference fixedfluffypony2-2/+12
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 1fluffypony6-98/+98
2014-09-07build number increase after releasefluffypony1-1/+1
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-06Fix tree-hash cnt n^2. Asserts, comment. Squash2rfree2monero1-6/+48
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-09-02fixed OS X malloc.h referencefluffypony1-1/+4
2014-08-25bumped build numberfluffypony1-1/+1
2014-08-23quick additional patchfluffypony1-2/+1
2014-08-23quick fee ramp to prevent spam attackfluffypony1-3/+4
2014-08-05added view_key to wallet RPC command query_keyJakob Lind1-0/+4
2014-08-05added viewkey command to CLIJakob Lind2-0/+9
2014-08-05query_key command in wallet rpc.Jakob Lind3-0/+44
only support mnemonic as key_type currently
2014-08-03refactoring. get seed code in wallet2Jakob Lind3-12/+23
2014-08-03check its deterministic wallet before printing seedJakob Lind1-3/+19
when running the seed command
2014-08-03remove help text about seed only displayed onceJakob Lind1-2/+2
2014-08-03added seed command to get deterministic seed.Jakob Lind2-0/+12
not yet password protected
2014-08-03restored wallets will have timestamp set to June 8 2014.Thomas Winget1-1/+17
2014-08-02build number increased in stagingfluffypony1-1/+1
2014-08-02Merge pull request #73 from jakoblind/refresh_heightRiccardo Spagni9-26/+41
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 make it compile and work properlyJakob Lind1-4/+2
2014-08-01#36 simplewallet refresh include optional height paramJakob Lind9-22/+39
height param is used optionally in refresh command TODO: This should also be the default behaviour when generating a new wallet.
2014-07-23Merge pull request #70 from fluffypony/masterRiccardo Spagni115-340/+3335
New readme, license changes
2014-07-23wallet rpc: actually populate the extra while assembling a transactionErik Kimmo2-2/+2
2014-07-23License updated to BSD 3-clausefluffypony115-340/+3335
2014-07-23Changed time_t to uint64_t for serializationThomas Winget1-3/+3
time_t is implementation-, architecture-, and apparently compiler-dependent. As an example, on my machine if I build a 64-bit binary, sizeof(time_t) is 8, but for a 32-bit binary it's 4. uint64_t is therefore much more consistent for serialization, given that RPC calls are potentially made between different machines.
2014-07-22Missed serializing a get_connections RPC response parameterThomas Winget1-0/+1
2014-07-22Add get_info command to daemon json rpcZachary Michaels2-0/+26
2014-07-22Add get_bulk_payments rpc callZachary Michaels5-5/+81
2014-07-18Added get_connections RPC call to daemonThomas Winget6-0/+116
2014-07-17Merge pull request #63 from mikezackles/bytecoin_for_mergemikezackles15-60/+52
Misc fixes from bytecoin
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-01Fix thread count argument handling in simplewalletZachary Michaels1-2/+2
2014-07-01Match empty RPC request with other requestsZachary Michaels1-1/+5
2014-07-01Switch list to vector for RPC serializationZachary Michaels1-2/+2
2014-07-01Remove unused functionZachary Michaels2-19/+0
2014-07-01Fix assert bug in base58 encodeZachary Michaels1-1/+1
The previous implementation was almost certainly a typo. full_block_size is the maximum index in the encoded_block_sizes array, and size is used as an index in this array. So now 1 <= size <= full_block_size == 8 instead of 1 <= size <= sizeof(full_block_size) == size_of(size_t) == ? (maybe 4 on 32-bit systems!)
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-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-07-01Allow priority peers when there are exclusive peersZachary Michaels1-1/+1
Per my reading this change makes sense since a subset of the exclusive peers could be priority peers. Priority peers that are not exclusive will not get loaded, and priority peers that *are* exclusive will get special treatment. Prior to this change it looks like priority peers were silently ignored when exclusive peers were provided.
2014-07-01Explicit error constructorsZachary Michaels1-5/+5