aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-06-21mnemonics: fix prefix extraction with non ASCII textmoneromooo-monero2-5/+25
2015-06-20Merge pull request #325Riccardo Spagni2-4/+5
3ade396 Set dnssec_valid value correctly in dns_utils; fix address_from_url test (Rostislav)
2015-06-20Merge pull request #324Riccardo Spagni6-10/+153
dc4dbc1 simplewallet: allow creating a wallet from a public address and view secret key (moneromooo-monero) 6a0f61d account: allow creating an account from a public address and view secret key (moneromooo-monero) e05a58a wallet2: fix write_watch_only_wallet comment description (moneromooo-monero) 4bf6f0d simplewallet: forbid seed commands for watch only wallets (moneromooo-monero)
2015-06-20Merge pull request #323Riccardo Spagni1-4/+7
2952ffd wallet2: use the same exponential splitting for normal txes (moneromooo-monero) 7c8d3be wallet2: try to split dust sweep txs exponentially (moneromooo-monero)
2015-06-20Set dnssec_valid value correctly in dns_utils; fix address_from_url testRostislav2-4/+5
2015-06-20simplewallet: allow creating a wallet from a public address and view secret keymoneromooo-monero4-8/+124
The needed information is supplied via a triple: --generate-from-view-key address:viewkey:filename
2015-06-20account: allow creating an account from a public address and view secret keymoneromooo-monero2-0/+17
2015-06-20wallet2: fix write_watch_only_wallet comment descriptionmoneromooo-monero1-2/+2
2015-06-20simplewallet: forbid seed commands for watch only walletsmoneromooo-monero1-0/+10
They do not make sense
2015-06-17wallet2: use the same exponential splitting for normal txesmoneromooo-monero1-2/+4
2015-06-17wallet2: try to split dust sweep txs exponentiallymoneromooo-monero1-2/+3
This ensures even massive wallets full of dust can sweep.
2015-06-16Merge pull request #322Riccardo Spagni1-7/+17
f6da25a Fix standard address deserialization (moneromooo-monero)
2015-06-16Fix standard address deserializationmoneromooo-monero1-7/+17
2015-06-14Merge pull request #321Riccardo Spagni1-9/+6
bbc5475 Fix DNS checkpoint consensus code (moneromooo-monero)
2015-06-14Merge pull request #320Riccardo Spagni2-1/+12
f9b361b daemon: fix an exit crash (moneromooo-monero)
2015-06-14Merge pull request #318Riccardo Spagni3-8/+14
fb20071 simplewallet: allow a different password for the watch-only wallet (moneromooo-monero)
2015-06-14Merge pull request #317Riccardo Spagni10-10/+303
6f8a6dc Add RPC commands to manipulate integrated addresses (moneromooo-monero) 67be2e4 simplewallet: allow integrated_address to generate a random payment id (moneromooo-monero) 7bd6efe account: add a couple consts (moneromooo-monero) 63741d8 Integrated addresses (standard address plus payment id) (moneromooo-monero)
2015-06-14Fix DNS checkpoint consensus codemoneromooo-monero1-9/+6
It's supposed to load all records and pick one that it finds twice.
2015-06-14daemon: fix an exit crashmoneromooo-monero2-1/+12
2015-06-13Add RPC commands to manipulate integrated addressesmoneromooo-monero3-0/+113
2015-06-12simplewallet: allow integrated_address to generate a random payment idmoneromooo-monero1-4/+11
2015-06-12account: add a couple constsmoneromooo-monero2-4/+4
2015-06-12Integrated addresses (standard address plus payment id)moneromooo-monero8-8/+181
2015-06-12simplewallet: allow a different password for the watch-only walletmoneromooo-monero3-8/+14
2015-06-11Merge pull request #312Riccardo Spagni2-39/+46
a9b1f7e dns_utils: simpify smart pointer use, and use for url strings too (moneromooo-monero)
2015-06-11Merge pull request #311Riccardo Spagni1-0/+1
d7df08d properly decrement p2p socket count (Thomas Winget)
2015-06-11Merge pull request #308Riccardo Spagni4-12/+12
35b160e fix ^D exit for bitmonerod (moneromooo-monero)
2015-06-11Merge pull request #303Riccardo Spagni6-7/+91
c882af6 wallet: add watch only wallet support (moneromooo-monero) f7767c6 account: add a forget_spend_key method (moneromooo-monero)
2015-06-07dns_utils: simpify smart pointer use, and use for url strings toomoneromooo-monero2-39/+46
OK, I admit I wanted to template this struct for fun too.
2015-06-06properly decrement p2p socket countThomas Winget1-0/+1
2015-06-03fix ^D exit for bitmonerodmoneromooo-monero4-12/+12
It uses the async console handler differently than simplewallet, and wasn't running the same exit code, causing it to never actually exit after breaking out of the console entry loop.
2015-06-03Merge pull request #306Riccardo Spagni1-1/+0
0f4a036 re-add Windows DNS bug fix, per c0de96f8bd2f64884255f9b0b61a4775ada5e3e6 (Riccardo Spagni)
2015-06-02re-add Windows DNS bug fix, per c0de96f8bd2f64884255f9b0b61a4775ada5e3e6Riccardo Spagni1-1/+0
2015-05-31Merge pull request #302Riccardo Spagni59-2575/+4559
6a11907 update libunbound (Riccardo Spagni)
2015-05-31update libunboundRiccardo Spagni59-2575/+4559
2015-05-31wallet: add watch only wallet supportmoneromooo-monero4-7/+84
The new save_watch_only saves a copy of the keys file without the spend key. It can then be given away to be used as a normal keys file, but with no spend ability.
2015-05-31account: add a forget_spend_key methodmoneromooo-monero2-0/+7
2015-05-31Merge pull request #301Riccardo Spagni2-1/+35
ce97494 fixed static assert test (Riccardo Spagni)
2015-05-31fixed static assert testRiccardo Spagni2-1/+35
2015-05-31Merge pull request #300Riccardo Spagni49-222/+602
e01d32e cleaning up, removing redundant files, renaming, fixing incorrect licenses (Riccardo Spagni) dfd53b3 readme updates: added sponsors, fixed build instructions (Riccardo Spagni)
2015-05-31cleaning up, removing redundant files, renaming, fixing incorrect licensesRiccardo Spagni48-214/+581
2015-05-31readme updates: added sponsors, fixed build instructionsRiccardo Spagni1-8/+21
2015-05-30Merge pull request #296Riccardo Spagni7-1/+408
a62daeb wallet_rpc_server: add a sweep_dust RPC command as well (moneromooo-monero) 3204f0d wallet: add a sweep_dust command (moneromooo-monero)
2015-05-30wallet_rpc_server: add a sweep_dust RPC command as wellmoneromooo-monero3-0/+64
2015-05-30wallet: add a sweep_dust commandmoneromooo-monero4-1/+344
Sends all the dust to your own wallet. May fail (if the fee required is more than the dust total). May end up paying most of the dust in fees. Unlocked dust total is now also displayed in "balance".
2015-05-30Merge pull request #299Riccardo Spagni1-3/+19
87c01c3 console_handler: handle EOF properly (moneromooo-monero)
2015-05-30Merge pull request #298Riccardo Spagni1-4/+4
183cfac README: minor wording changes (moneromooo-monero)
2015-05-30Merge pull request #297Riccardo Spagni1-38/+75
5680604 Replace hardcoded value with existing constant of same value (warptangent) f37ee2f Update database resize behavior (warptangent) f85cd8e Include database error in more error messages (warptangent)
2015-05-30Merge pull request #294Riccardo Spagni14-565/+38
693a8bf rpc_command_executor: fix mining in testnet mode (moneromooo-monero) d09be11 core_rpc_server: add a getter for the testnet flag (moneromooo-monero) 754f863 core_rpc_server: log some error messages to the console (moneromooo-monero) 4f0e8cf daemon: remove obsolete daemon_commands_handler.h (moneromooo-monero) bac366e core_rpc_server: reenable print_pl (moneromooo-monero) 39a9508 net_peerlist: fix grayt/white naming mismatch (moneromooo-monero) 8069b3b blockchain_db: add a few const (moneromooo-monero) 0932476 wallet: add consts where appropriate (moneromooo-monero)
2015-05-30Merge pull request #293Riccardo Spagni2-14/+52
10ff75e daemon: Set log file default to use data dir (warptangent) deacecc simplewallet: Update and add log options (warptangent) f24bcd5 simplewallet: Don't log view key and spend key (warptangent)
2015-05-30console_handler: handle EOF properlymoneromooo-monero1-3/+19
Exit instead of reading "empty" commands in an infinite loop.
2015-05-30README: minor wording changesmoneromooo-monero1-4/+4
2015-05-30Replace hardcoded value with existing constant of same valuewarptangent1-1/+1
This was likely the intent.
2015-05-30Update database resize behaviorwarptangent1-2/+20
On an existing database, don't set LMDB map size to be the initial size for a new database. Check if resize is needed at startup.
2015-05-30Include database error in more error messageswarptangent1-35/+54
2015-05-28rpc_command_executor: fix mining in testnet modemoneromooo-monero1-2/+1
2015-05-28core_rpc_server: add a getter for the testnet flagmoneromooo-monero1-0/+1
2015-05-28core_rpc_server: log some error messages to the consolemoneromooo-monero1-0/+3
It's helpful when you don't know something failed (especially as everything ends up returning true, so caller thinks all's fine)
2015-05-28daemon: remove obsolete daemon_commands_handler.hmoneromooo-monero2-530/+0
2015-05-28core_rpc_server: reenable print_plmoneromooo-monero1-3/+2
2015-05-28net_peerlist: fix grayt/white naming mismatchmoneromooo-monero1-2/+2
Looking at how these are called confirms this must have been a mistake
2015-05-28daemon: Set log file default to use data dirwarptangent1-1/+16
The log file previously used the default data dir even if --data-dir was set to something else. Document data dir and log file path.
2015-05-28simplewallet: Update and add log optionswarptangent1-9/+29
Replace --set_log with --log-level for consistency. Show default log level in usage. Add --log-file for specifying log file path. Document log file path. Display log file path at startup.
2015-05-28simplewallet: Don't log view key and spend keywarptangent1-4/+7
As with display of seed, don't log view key and spend key. Includes: - display of viewkey at wallet creation - "viewkey" command output - "spendkey" command output
2015-05-27blockchain_db: add a few constmoneromooo-monero6-10/+10
2015-05-27wallet: add consts where appropriatemoneromooo-monero2-18/+19
because const is always appropriate
2015-05-26explicitly include libc++ with clangRiccardo Spagni1-1/+6
2015-05-26Merge pull request #292Riccardo Spagni1-31/+36
c44755a Build seed node list without duplicates (warptangent)
2015-05-26Merge pull request #291Riccardo Spagni2-2/+6
6962253 Fix compile for GCC 5.1.0 (warptangent)
2015-05-26Merge pull request #289Riccardo Spagni2-75/+210
01076ae Check if LMDB needs resize every 1000 blocks (Thomas Winget) b0d849e null out batch txn pointer as needed (BlockchainLMDB) (Thomas Winget) 7b7ef73 LMDB should now dynamically resize the mapsize (Thomas Winget) ac79502 Move mdb_txn_safe implementation to cpp file (Thomas Winget)
2015-05-25Fix compile for GCC 5.1.0warptangent2-2/+6
Add fix for compile error with multiple uses of peerid_type (uint64_t) variable in lambda expression. - known GCC issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65843 epee: replace return value of nullptr for expected boolean with false. Fixes #231.
2015-05-25Build seed node list without duplicateswarptangent1-31/+36
The random selection of a node shouldn't favor repeats that occur in the hardcoded and DNS seed node lists. Remove hardcoded ":18080" address which gives parse error. Test: bitmonerod --log-level 2 The seed node list displayed at startup shouldn't show duplicate addresses (includes port).
2015-05-20Merge pull request #290Riccardo Spagni5-26/+57
fee8424 Allow name@domain.tld for OpenAlias lookups (warptangent) a0fe18f Revert "Allow name@domain.tld for OpenAlias lookups" (warptangent)
2015-05-20Merge pull request #288Riccardo Spagni10-14/+71
f278fe3 s/terget/target/ (moneromooo-monero) d8ee0a9 print limits when running limit commands with no arguments (moneromooo-monero)
2015-05-20Merge pull request #287Riccardo Spagni2-9/+17
d1eac1b Support debugging command --pop-blocks on in-memory blockchain (warptangent)
2015-05-20Merge pull request #285Riccardo Spagni2-0/+9
087d7f3 Add spendkey dump to simplewallet (luigi1111)
2015-05-19Add spendkey dump to simplewalletluigi11112-0/+9
2015-05-19Allow name@domain.tld for OpenAlias lookupswarptangent5-1/+43
Based on tewinget's update. Make OpenAlias address format independent of existing DNS functions. Add tests. Test: make debug-test cd build/debug/tests/unit_tests # test that regular DNS functions work, including IPv4 lookups. # also test function that converts OpenAlias address format make && ./unit_tests --gtest_filter=DNSResolver* # test that OpenAlias addresses like donate@getmonero.org work from # wallet tools make && ./unit_tests --gtest_filter=AddressFromURL.Success
2015-05-19Revert "Allow name@domain.tld for OpenAlias lookups"warptangent2-25/+14
This reverts commit b18368b635ba08aea541ef52ebc74180822644a2.
2015-05-18Check if LMDB needs resize every 1000 blocksThomas Winget1-1/+1
(this was 10 for testing purposes)
2015-05-18null out batch txn pointer as needed (BlockchainLMDB)Thomas Winget1-4/+5
2015-05-17s/terget/target/moneromooo-monero6-13/+13
2015-05-17print limits when running limit commands with no argumentsmoneromooo-monero5-3/+60
It's more user friendly that an error message saying the command does not exist.
2015-05-16Support debugging command --pop-blocks on in-memory blockchainwarptangent2-9/+17
Add public method blockchain_storage::debug_pop_block_from_blockchain() Ensure blockchain_import calls destructors before exit. To test: DATABASE=memory make release // create blockchain.bin from blockchain.raw if needed build/release/bin/blockchain_import --block-stop 1000 // try popping a single block build/release/bin/blockchain_import --pop-blocks 1
2015-05-16LMDB should now dynamically resize the mapsizeThomas Winget2-60/+187
Some filesystems (*cough* NTFS *cough*) aren't good with sparse files, so this makes LMDB dynamically resize its mapsize as needed. Note: the check interval is currently every 10 blocks (for testing) and will probably need to change to 1000 or something. Default mapsize set to 1GiB. Blockchain conversion tools using batching will probably segfault, I'll fix that in the next commit.
2015-05-16Merge pull request #286Riccardo Spagni4-52/+58
d35bffb Allow BlockchainLMDB to be opened in read-only mode (warptangent) 73d3511 Rename "--block-number" option to "--block-stop" (warptangent) 2b2dbd8 Check if chunk size is zero instead of negative (warptangent)
2015-05-16Allow BlockchainLMDB to be opened in read-only modewarptangent2-4/+11
Have blockchain_export use read-only mode when source is BlockchainLMDB.
2015-05-15Move mdb_txn_safe implementation to cpp fileThomas Winget2-51/+58
2015-05-15Rename "--block-number" option to "--block-stop"warptangent3-46/+45
Update help output for this and other options.
2015-05-15Check if chunk size is zero instead of negativewarptangent1-2/+2
This corrects an unnecessary check and fixes compile error on OS X.
2015-05-14Merge pull request #284Riccardo Spagni2-14/+46
b1d92bc Fixes changes to sort tx by fee per kb (Thomas Winget)
2015-05-14Merge pull request #283Riccardo Spagni1-1/+4
5c025f9 Check for Clang before adding compiler flag (warptangent)
2015-05-13Fixes changes to sort tx by fee per kbThomas Winget2-14/+46
2015-05-13Check for Clang before adding compiler flagwarptangent1-1/+4
See eb565a1ce208c543392808559ddea709eb1c935b
2015-05-13Merge pull request #281Riccardo Spagni13-619/+969
ac011b4 Rename src/blockchain_converter/ to src/blockchain_utilities/ (warptangent) ed9c639 Add --block-number option to blockchain_import (warptangent) 1eb4c66 Update blockchain utilities with portable bootstrap file format (warptangent) 54bd9c1 Add MDB_NORDAHEAD as a supported LMDB flag for blockchain_import (warptangent) a52496d Condense #if directives (warptangent) 8c1a188 Add basic "pop blocks" command to blockchain_import for debugging (warptangent) 71af046 Update log statements (warptangent)
2015-05-13Merge pull request #280Riccardo Spagni3-11/+11
2ff0d75 Fix missing virtual destructor (Sergey Kazenyuk) eb565a1 Suppress 'register storage class is deprecated' warning in boost dependency library (Sergey Kazenyuk)
2015-05-13Merge pull request #277Riccardo Spagni1-1/+16
48926d0 Fix incompatibility with blockchain exporter when source is LMDB (warptangent)
2015-05-13Merge branch 'tewinget-sort_tx_by_fee_per_kb'Riccardo Spagni2-12/+40
2015-05-13resolved merge conflict in tx_pool.cppRiccardo Spagni2-12/+40
2015-05-13Merge pull request #274Riccardo Spagni2-14/+25
b18368b Allow name@domain.tld for OpenAlias lookups (Thomas Winget)
2015-05-08Rename src/blockchain_converter/ to src/blockchain_utilities/warptangent10-2/+2
Update appropriate files (CMakeLists.txt, README.md)
2015-05-08Add --block-number option to blockchain_importwarptangent1-7/+17
This enables the importer to stop after reaching a specified block number (zero-based index), before reaching the end of the source blockchain.
2015-05-08Update blockchain utilities with portable bootstrap file formatwarptangent8-460/+755
Remove repeated coinbase tx in each exported block's data. Add resume from last exported height to blockchain_export, making it the default behavior when the file already exists. Start reorganizing the utilities. Various cleanup. Update output, including referring to both height and block numbers as zero-based instead of one-based. This better matches the block data, rather than just some parts of the existing codebase. Use smaller default batch sizes for importer when verifying, so progress is saved more frequently. Use small default batch size (1000) for importer on Windows, due to current issue with big transaction sizes on LMDB. file format ----------- [4-byte magic | variable-length header | block data] header ------ 4-byte file_info length file_info struct file format major version file format minor version header length (includes file_info struct) [rest of header, padded with 0 bytes up to header length] block data ---------- 4-byte chunk/block_package length block_package struct block txs (coinbase/miner tx included already in block) block_size cumulative_difficulty coins_generated 4-byte chunk/block_package length block_package struct [...]
2015-05-08Add MDB_NORDAHEAD as a supported LMDB flag for blockchain_importwarptangent1-8/+2
2015-05-08Condense #if directiveswarptangent1-9/+2
2015-05-08Add basic "pop blocks" command to blockchain_import for debuggingwarptangent1-0/+58
Usage: blockchain_import --pop-blocks <num_blocks>
2015-05-08Update log statementswarptangent3-3/+3
Use filesystem path conversion to string() instead of c_str(). Windows may otherwise output an address.
2015-05-08Fix incompatibility with blockchain exporter when source is LMDBwarptangent1-1/+16
Instantiate BlockchainDB in blockchain exporter to reflect recent updates. This applies when blockchain_export.h defines SOURCE_DB as DB_LMDB.
2015-05-06Merge branch 'clang_fixes' into clang_fixes-masterSergey Kazenyuk3-11/+11
2015-05-06Merge pull request #269Riccardo Spagni7-17/+108
641d824 Keep memory pool consistent when stuck tx removed (warptangent) b76857f Add mempool output to daemon via command and RPC (warptangent)
2015-05-05Merge pull request #268Riccardo Spagni3-8/+72
2717883 DNS Checkpoint updating-related fixes/changes (Thomas Winget)
2015-05-05Merge pull request #267Riccardo Spagni1-7/+2
bed2331 Require BerkeleyDB to be installed (for now) if building non-static (Thomas Winget)
2015-05-05Merge pull request #265Riccardo Spagni1-1/+1
1b19ee0 disable non-working optimized slow_hash on 32 bit intel (Javier Smooth)
2015-04-30Sort txs by per-kb-fee for minersThomas Winget2-7/+35
2015-04-30When removing 'stuck' transactions, don't ignore the first tx in the poolThomas Winget1-5/+5
2015-04-29Allow name@domain.tld for OpenAlias lookupsThomas Winget2-14/+25
2015-04-23Keep memory pool consistent when stuck tx removedwarptangent1-0/+1
When a stuck tx is removed from memory pool, first remove the associated spent key images.
2015-04-23Add mempool output to daemon via command and RPCwarptangent7-17/+107
This is for the "print_pool" command and "get_transaction_pool" RPC method. Add mempool's spent key images to the results.
2015-04-22DNS Checkpoint updating-related fixes/changesThomas Winget3-8/+72
Only one thread will be doing the updating. Two valid responses must match, and the first two that match will be used.
2015-04-22Require BerkeleyDB to be installed (for now) if building non-staticThomas Winget1-7/+2
2015-04-20Fix missing virtual destructorSergey Kazenyuk2-2/+4
2015-04-20Suppress 'register storage class is deprecated' warning in boost dependency ↵Sergey Kazenyuk1-2/+2
library
2015-04-14update lmdb64Riccardo Spagni22-365/+201
2015-04-13disable non-working optimized slow_hash on 32 bit intelJavier Smooth1-1/+1
2015-04-11Merge pull request #261Riccardo Spagni1-1/+1
b7d8728 Don't recommend --HEAD for brew users (Sammy Libre)
2015-04-11Don't recommend --HEAD for brew usersSammy Libre1-1/+1
2015-04-11Merge pull request #260Riccardo Spagni9-8/+17
32c19c6 [fix] log level change. compilation: dns, tests (rfree2monero)
2015-04-10[fix] log level change. compilation: dns, testsrfree2monero9-8/+17
old unbound #warning does not block compilation unit tests build fine. Even though the RPC/P2P network type is required again
2015-04-10Merge pull request #259Riccardo Spagni1-2/+16
5b01493 Fixes start_mining in cli interactive mode (Thomas Winget)
2015-04-10Fixes start_mining in cli interactive modeThomas Winget1-2/+16
2015-04-09fixed static windows makefile targetsRiccardo Spagni1-2/+2
2015-04-09Merge pull request #258Riccardo Spagni1-0/+2
ae08be5 Disable DNS checkpoint updating on testnet (Thomas Winget)
2015-04-08Disable DNS checkpoint updating on testnetThomas Winget1-0/+2
2015-04-08Merge pull request #256Riccardo Spagni96-158/+42389
7d8acd1 explicitly disable AES on ARM (Riccardo Spagni) 4222b37 add arm6 target and flags (Riccardo Spagni) 5675325 new makefile targets for static builds (Riccardo Spagni) 9519526 Only compile BerkeleyDB as an option in non-static (Thomas Winget) 7b14d4a Steps toward multiple dbs available -- working (Thomas Winget) dbdcf11 blockchain_converter: Add support for resume from last block (warptangent) 4880803 blockchain_import: lengthen string for line clear (warptangent) 7476d2e blockchain_export: show progress during export (warptangent) 4bedd68 Update Blockchain::get_db() to return reference instead of pointer (warptangent) 0386e99 Add README for blockchain converter, importer, and exporter utilities (warptangent) ead7fad BerkeleyDB implementation of BlockchainDB seems to be working! (Thomas Winget) ffadb65 blockchain_export: Add compile-time support for BlockchainDB (warptangent) f6cbfb6 Add blockchain_export utility (warptangent) 275cbd4 Add support for database open with flags (warptangent) cb862cb Add mdb_flags variable to LMDB database open (warptangent) 260cc56 Add blockchain_import utility (warptangent) ca75b47 Blockchain: add get_db() accessor, needed for blockchain_import (warptangent) a3dd9d1 blockchain_converter: Add support for batch transactions (warptangent) acb5d29 Update and relocate comment that applies class wide (warptangent) bd9da6d Merges #33 (Thomas Winget) 6e9e8ab Move db_drivers/ to external/ (Thomas Winget) 56a1bf5 fixed BUILD_64 option (Riccardo Spagni) c97a685 fixed arch_width option (Riccardo Spagni) 3a3c07c fixed msys2 / mingw folders based on architecture, added license to unbound CMakeList as that is not part of standard Unbound (Riccardo Spagni) 3b3da86 moved 32-bit/64-bit detection into main CMakeLists (Riccardo Spagni) a0cbf73 removed findlmdb.cmake, no longer required (Riccardo Spagni) 0e8bbdb 32-bit LMDB, removed check for in-system LMDB as it is consensus-critical (Riccardo Spagni) 11e8157 Revert "Moved db_drivers/ into external/ for consistency" (Thomas Winget) daf2a8f Revert "Build fixed, goofed up some CMake" (Thomas Winget) e146027 BlockchainBDB passes unit tests (Thomas Winget) 43477b7 BerkeleyDB Blockchain building, not working yet (Thomas Winget) cade0da CMake wiring, minor cleanup, minor test addition (Thomas Winget) 1bc8939 BerkeleyDB BlockchainDB impl copy/paste/modify (Thomas Winget) 5112dc3 Try to not pollute cryptonote namespace (Thomas Winget) edef0bb Initial commit of BDB BlockchainDB implementation (Thomas Winget) eee3ee7 BlockchainDB implementations have names now (Thomas Winget) 5d2a2b7 Fixed includes in BlockchainDB unit tests (Thomas Winget) 8b82f3c Build fixed, goofed up some CMake (Thomas Winget) b213356 Moved db_drivers/ into external/ for consistency (Thomas Winget) 5eab480 Moved BlockchainDB into its own src/ subfolder (Thomas Winget) 0ad0784 Changed log level of debug message -- too spammy (Thomas Winget) 6485dac BlockchainLMDB: Add profiling to tx_exists() (warptangent) 83fb6d8 BlockchainLMDB: Add batch transaction support to tx_exists() (warptangent) 8529c0e BlockchainDB, BlockchainLMDB: Add profiling for DB commits (warptangent) 7a66b8b BlockchainDB: Add virtual function declarations for batch transactions (warptangent) b7a2d84 BlockchainLMDB: Add check for open database to two functions (warptangent) 58ecc58 BlockchainLMDB: Add support for batch transactions (warptangent) 8909d7d Improve block and tx processing efficiency by less repeat hashing (warptangent) 3676ac5 Add profiling to block and tx processing (warptangent) ce71abd Move LMDB storage to subfolder (warptangent) 42f8fe5 Fix formatting (warptangent) aa82f78 Fix log statement (warptangent) 26873db Remove unused variable (warptangent) 4b90fd3 Add log statement (warptangent) 2531aa3 Add and extend log statements (warptangent) 59305d3 Blockchain: match original function declaration from blockchain_storage (warptangent) cd972bd Update year and formatting in license (warptangent) b88ab64 Fix Blockchain::get_tail_id() to set parameter to last block number instead of height (warptangent) 963bc09 Revert "Bounds error, should fix #27" (warptangent) 6f1c4b4 Bounds error, should fix #27 (Thomas Winget) 84fe5fb Add compile-time support for both db implementations: in-memory and LMDB (warptangent) 8bd1983 Blockchain: reflect log updates from blockchain_storage (warptangent) 7f9b070 Blockchain: reflect log and assert updates from blockchain_storage (warptangent) 70342ec Blockchain: reflect log level of blockchain_storage (warptangent) c8d27fb Blockchain: reflect assert behavior of blockchain_storage for get_tx_outputs_gindexs() (warptangent) d00ee78 Update recently added log statement to fix possible null dereference (warptangent) acd4c36 Should fix std::min issues related to size_t (Thomas Winget) 3488359 Add in-source lmdb to build process (Thomas Winget) 4e45fae Initial import of lmdb source (Thomas Winget) 800d9b9 Remove code previously made unused and marked unused (warptangent) 0840c2f Fix height assertion in Blockchain::handle_alternative_block() (warptangent) 63051be Fix comparison between main and alternate chain's cumulative difficulty. (warptangent) 909ea81 Remove a have_block() check so alternate block can be processed (warptangent) 4d0a94b Complete implementation of transaction removal (warptangent) 1701c26 Use block index when obtaining block's difficulty for log statement (warptangent) 4eba21f Fix transfers to support mixins (warptangent) d045dfa Fix transfers (without mixins) (warptangent) 429a740 throw inline functions need to keep exception type (Thomas Winget) 14555ee Fixes segfault in Blockchain::handle_alternative_block (Thomas Winget) 5086ca1 add BlockchainDB tests to new cmake (Thomas Winget) c5c100c Obtain tx hash and tx output index from amount and output offset (warptangent) ad8200a db_lmdb: fix global index calculation off by 1 (moneromooo-monero) 57b80c5 db_lmdb: remove redundant checks (moneromooo-monero) 1362846 blockchain_converter: add --testnet for converting testnet blockchain (moneromooo-monero) c50cd95 Fixes a bug with getting output metadata from BlockchainDB (Thomas Winget) c3fa07b update comments to reflect changed code (Thomas Winget) 59d2b0e db_lmdb: do not give the group database write permissions (moneromooo-monero) 4c2a452 db_lmdb: catch attempt to remove block from an empty blockchain (moneromooo-monero) 3a3459d db_lmdb: factor all the log+throw code paths (moneromooo-monero) 3fcb8da db_lmdb: factor the MDB_val setup code (moneromooo-monero) 609cf7f blockchain_converter: a bit more user friendly output (moneromooo-monero) 2b9f737 blockchain_converter: only call data path function once (moneromooo-monero) 1860658 blockchain: do not append "testnet" to the data directory (moneromooo-monero) 1c578ad db_lmdb: remove block timestamp too when removing a block (moneromooo-monero) c93a186 db_lmdb: do not cast const away (moneromooo-monero) 198368b blockchain: fix wallet syncing from scratch (moneromooo-monero) 1d23db2 db_lmdb: do not keep a dangling pointer to stack objects (moneromooo-monero) 29b5876 db_lmdb: make cursor internal members private (moneromooo-monero) a3157d7 blockchain_storage: refactor genesis block creation (moneromooo-monero) 8e41b1e blockchain_storage: add consts where appropriate (moneromooo-monero) 98bdadc blockchain_converter: delete blockchain on succesful exit (moneromooo-monero) 256162f checkpoints: add consts where appropriate (moneromooo-monero) b7270ab blockchain: add consts where appropriate (moneromooo-monero) 23f3cb4 blockchain_db: add consts where appropriate (moneromooo-monero) 10fd6ca blockchain_db: factor some exception code (moneromooo-monero) 11129b9 blockchain_converter: use the actual blockchain location (moneromooo-monero) 0886183 build: add liblmdb to the cmake autodetection system (moneromooo-monero) 215e63b extraneous semicolon in Blockchain::complete_timestamps_vector (Thomas Winget) 8e1b7e2 raised maximum mapsize for lmdb to ~16GB (Thomas Winget) 6c8b8ac more blockchain height-related fixes, syncing other nodes code this time (Thomas Winget) 9455e0c ~ didn't work, need hard path. debug print. (Thomas Winget) 4af0918 very, VERY primitive blockchain converter (Thomas Winget) 26a7db3 add new checkpointing behavior to Blockchain class (Thomas Winget) 767aac2 Remove unused dependency (Thomas Winget) 006e106 Store output pubkeys separately, bug fixes (Thomas Winget) ab7951d Minor bugfixes, redundancy removal (Thomas Winget) 71b18d7 moar bug fixes, removed debug prints (Thomas Winget) 0915913 BlockchainLMDB seems to be working*! (Thomas Winget) 1a546e3 some bug fixes, but still needs work (Thomas Winget) 006afe2 Minor bug fixes and debug prints (Thomas Winget) 90f402e minor fixes to Blockchain.cpp (Thomas Winget) 74a1a89 Integrate BlockchainDB into cryptonote_core (Thomas Winget) d8c570b All LMDB BlockchainDB implemented, not tested (Thomas Winget) e47e343 LMDB blockchain: remove outputs and spent keys (Thomas Winget) a0af217 Adding block data to LMDB BlockchainDB coded (Thomas Winget) db00ce0 Parts of LMDB impl of BlockchainDB done and working (Thomas Winget) 1240cf8 BlockchainDB unit tests, lmdb linker flag (Thomas Winget) b98b964 Initial commit of lmdb BlockchainDB impl (Thomas Winget) bc44bc1 Initial commit of BlockchainDB tests, other misc (Thomas Winget) 90d6f8b Adding libglim as an external library (Thomas Winget) 07733f9 update new blockchain to build with new changes (Thomas Winget) 1ffbeb2 stupid past me, fixing typos and shit... (Thomas Winget) 67515b8 missing typedef (Thomas Winget) aba548c import of BlockchainDB files (Thomas Winget)
2015-04-08Merge pull request #257Riccardo Spagni6-60/+134
9bfa593 [fix] Network 1.8: unlimited the RPC connections (rfree2monero)
2015-04-08[fix] Network 1.8: unlimited the RPC connectionsrfree2monero6-60/+134
works for unit tests build, too
2015-04-07Merge BlockchainDB into upstreamThomas Winget96-158/+42389
2015-04-07Merges PR #37Thomas Winget2-3/+29
New/updated Makefile targets
2015-04-07Only compile BerkeleyDB as an option in non-staticThomas Winget4-17/+41
2015-04-06updated unbound cmake for static buildsRiccardo Spagni3-2/+34
2015-04-06explicitly disable AES on ARMRiccardo Spagni1-1/+1
2015-04-06add arm6 target and flagsRiccardo Spagni2-1/+13
2015-04-06new makefile targets for static buildsRiccardo Spagni1-2/+16
2015-04-05no newline at end of fileRiccardo Spagni1-1/+1
2015-04-05Merge pull request #255Riccardo Spagni1-1/+8
83ddc94 handle unlikely rounding up after sqrt (Javier Smooth) f2e8348 triangular distribution to choose recent outputs more often for mixins (Javier Smooth)
2015-04-05handle unlikely rounding up after sqrtJavier Smooth1-0/+3
2015-04-05triangular distribution to choose recent outputs more often for mixinsJavier Smooth1-1/+5
2015-04-05minor CMakeLists fix for Unbound, ldns -> sldnsRiccardo Spagni1-7/+7
2015-04-04reinstate accidentally removed CMakeListsRiccardo Spagni1-0/+201
2015-04-02Merge pull request #252Riccardo Spagni79-276/+7174
618f20c Network 1.7; Quieted the debug a bit. (rfree2monero) 391c7f9 Utils: use const, document dbg. Less default debug (rfree2monero) 44f4234 [fix] mac os x includes std::random... (rfree2monero) 162c993 Network 1.6: network limits, logging, +doxy (rfree2monero) a3b2226 my changelog (rfree2monero) 2900b1e doxygen files (rfree2monero) 1489310 doxygen related tool (rfree2monero) f9dba47 added windows_stream.* console colors (rfree2monero) c511abf remerged; commands JSON. logging upgrade. doxygen (rfree2monero) f79821a fix locking in count-peers thread (2) (rfree2monero) 0198ffb 2014 network limit 1.3 fix log/path/data +utils (rfree2monero) ae2a506 2014 network limit 1.2 +utils +toc -doc -drmonero (rfree2monero) 0f06dca fixed size_t on windows (rfree2monero) 39fc63f removed not needed <netinet/in.h> (rfree2monero) 5ce4256 2014 network limit 1.1 +utils +toc -doc -drmonero (rfree2monero) eabb519 2014 network limit 1.0a +utils +toc -doc -drmonero (rfree2monero)
2015-04-02Merge pull request #251Riccardo Spagni2-5/+2
c0de96f Fixed DNS resolution bug in Windows (Thomas Winget)
2015-04-02Network 1.7; Quieted the debug a bit.rfree2monero3-11/+15
Really really finall version of this changes I hope.
2015-04-02Fixed DNS resolution bug in WindowsThomas Winget2-5/+2
Due to a bug in unbound, we were passing a string containing a null character to ub_ctx_resolvconf and ub_ctx_hosts rather than a NULL pointer. On *nix this wasn't causing headache, but on Windows this was causing unbound to not correctly load DNS settings from the OS. Note on the bug: in a Windows-specific code branch in the function ub_ctx_hosts(), if the hosts file specified was a NULL pointer, a call to getenv() was stored in a local char* and later freed. This is incorrect, as we do not own that data, and caused the program to crash.
2015-04-02Utils: use const, document dbg. Less default debugrfree2monero2-30/+55
2015-04-02update hardcoded fallback seedsRiccardo Spagni1-12/+25
2015-04-02update unbound from upstreamRiccardo Spagni155-3514/+5556
2015-04-01[fix] mac os x includes std::random...rfree2monero1-0/+4
2015-04-01Network 1.6: network limits, logging, +doxyrfree2monero1-1/+7
-dr.monero and once more again merged all work to current official monero version
2015-04-01my changelogrfree2monero1-0/+71
2015-04-01doxygen filesrfree2monero2-0/+1817
2015-04-01doxygen related toolrfree2monero1-0/+25
2015-04-01added windows_stream.* console colorsrfree2monero2-0/+84
2015-04-01remerged; commands JSON. logging upgrade. doxygenrfree2monero29-243/+702
2015-04-01Merge remote-tracking branch 'monero-official/master' into network-1.6-work1rfree2monero98-2467/+9502
2015-03-30Merge pull request #248Riccardo Spagni16-162/+512
a0590d2 Restore daemon interactive mode (Thomas Winget)
2015-03-29Merge upstream into blockchainThomas Winget7-28/+142
2015-03-29Merge BerkeleyDB blockchain db implementationThomas Winget19-102/+2250
2015-03-27Restore daemon interactive modeThomas Winget16-162/+512
Daemon interactive mode is now working again. RPC mapped calls in daemon and wallet have both had connection_context removed as an argument as that argument was not being used anywhere.
2015-03-26Merge pull request #247Riccardo Spagni1-1/+1
c9424c1 fix cmake miniupnpc typo (meshpoint)
2015-03-26Merge pull request #244Riccardo Spagni3-12/+117
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-26Merge pull request #239Riccardo Spagni1-10/+16
02969d6 default mix factor in simplewallet (smooth)
2015-03-26fix cmake miniupnpc typomeshpoint1-1/+1
which matters on case-sensitive filesystems
2015-03-25Steps toward multiple dbs available -- workingThomas Winget13-58/+146
There will need to be some more refactoring for these changes to be considered complete/correct, but for now it's working. new daemon cli argument "--db-type", works for LMDB and BerkeleyDB. A good deal of refactoring is also present in this commit, namely Blockchain no longer instantiates BlockchainDB, but rather is passed a pointer to an already-instantiated BlockchainDB on init().
2015-03-25update berkeleydb branch to blockchain branchThomas Winget100-2375/+9070
2015-03-25Merge upstream updates into blockchain branchThomas Winget94-2326/+8929
2015-03-25Merges #36Thomas Winget6-49/+141
2015-03-24Enforce DNSSEC for checkpoint updatesThomas Winget1-10/+17
2015-03-24DNSSEC added (hardcoded key)Thomas Winget2-2/+100
DNSSEC is now implemented with the hardcoded key from unbound. This will need to be not hardcoded in the future, but is okay for now. Unit tests updated for DNSSEC (as well as for the fact that, contrary to previous assumption, example.com does not have a static IP address).
2015-03-24Merge pull request #243Riccardo Spagni49-395/+3970
51e3579 Fixed bug in static linking boost on MINGW (Thomas Winget) f78bb00 Hopefully fixes build on Windows for real this time (Thomas Winget) 2b0583b Hopefully fixes build on Windows (Thomas Winget) 9dab105 DNS checkpoint loading for testnet should now be correct (Thomas Winget) 52f9629 sending commands to forked daemon works on testnet now (Thomas Winget) 76289d0 Fix tests building -- function signatures changed (Thomas Winget) db53e19 revert stop_daemon method to use correct exit (Thomas Winget) 96cbecf RPC calls for background daemon added in (Thomas Winget) 9193d6f Daemonize changes pulled in -- daemon builds (Thomas Winget)
2015-03-24updated gtest to latestRiccardo Spagni37-1919/+4932
2015-03-24Merge upstream to daemonize changesThomas Winget10-12/+27
Preparation for PR
2015-03-23blockchain_converter: Add support for resume from last blockwarptangent1-10/+37
Add option "--resume <on|off>" where default is on.
2015-03-22blockchain_import: lengthen string for line clearwarptangent1-16/+19
2015-03-22blockchain_export: show progress during exportwarptangent1-9/+17
2015-03-22Update Blockchain::get_db() to return reference instead of pointerwarptangent4-14/+14
Where this method is used, a BlockchainDB object is always expected, so a pointer is unnecessary and less safe.
2015-03-22Add README for blockchain converter, importer, and exporter utilitieswarptangent1-0/+54
2015-03-22Fixed bug in static linking boost on MINGWThomas Winget1-0/+6
There was a workaround for linking to boost at all on MINGW, but unfortunately this workaround would not correctly link to boost statically. This workaround for that workaround works around the issue that that workaround had.
2015-03-20Hopefully fixes build on Windows for real this timeThomas Winget1-5/+5
2015-03-20Hopefully fixes build on WindowsThomas Winget3-3/+15
2015-03-17BerkeleyDB implementation of BlockchainDB seems to be working!Thomas Winget2-20/+20
2015-03-17Pull blockchain changes into berkeleydb branchThomas Winget72-107/+17743
2015-03-17Merges PR #35Thomas Winget12-38/+1659
2015-03-17Merges #33Thomas Winget0-0/+0
Because of some github fuckery I had to manually cherry-pick/rebase fluffypony's 32- and 64-bit lmdb changes, hence this isn't actually a merge commit.
2015-03-17Move db_drivers/ to external/Thomas Winget59-5/+4
Also change LMDB Cmake variables to CACHE rather than upgrading them through several parent scopes.
2015-03-17fixed BUILD_64 optionRiccardo Spagni1-1/+1
2015-03-17fixed arch_width optionRiccardo Spagni1-3/+9
2015-03-17fixed msys2 / mingw folders based on architecture, added license to unbound ↵Riccardo Spagni2-8/+36
CMakeList as that is not part of standard Unbound
2015-03-17moved 32-bit/64-bit detection into main CMakeListsRiccardo Spagni58-9/+12
2015-03-17removed findlmdb.cmake, no longer requiredRiccardo Spagni1-57/+0