Commit graph

131 commits

Author SHA1 Message Date
mikezackles 905b67bc79 Merge pull request #63 from mikezackles/bytecoin_for_merge
Misc fixes from bytecoin
2014-07-17 19:23:49 -04:00
Zachary Michaels a016499a0e Fix thread count argument handling in simplewallet 2014-07-01 14:57:27 -04:00
Zachary Michaels dee9abcd60 Match empty RPC request with other requests 2014-07-01 14:57:27 -04:00
Zachary Michaels efad8c9f31 Switch list to vector for RPC serialization 2014-07-01 14:57:27 -04:00
Zachary Michaels a633c11cbb Remove unused function 2014-07-01 14:57:27 -04:00
Zachary Michaels 7259f07a20 Fix assert bug in base58 encode
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-01 14:57:27 -04:00
Zachary Michaels 26c83c5dea Explicit namespaces 2014-07-01 14:57:27 -04:00
Zachary Michaels 28af03208b Remove redeclaration 2014-07-01 14:57:26 -04:00
Zachary Michaels b1413fd045 C++ style cast 2014-07-01 14:57:26 -04:00
Zachary Michaels b3092d4e00 Comment unused functions in cryptonote_core 2014-07-01 14:57:26 -04:00
Zachary Michaels e344b9c734 Improved (fixed?) serialization for vec<uint32_t> 2014-07-01 14:57:26 -04:00
Zachary Michaels f98c8abf42 Add missing pragma 2014-07-01 14:57:26 -04:00
Zachary Michaels 5fca5a0e5d Add missing pragma 2014-07-01 14:57:26 -04:00
Zachary Michaels aaced6ff9b Add missing pragma 2014-07-01 14:57:26 -04:00
Zachary Michaels 17f0967472 Allow priority peers when there are exclusive peers
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-01 14:57:26 -04:00
Zachary Michaels bd7d20a58a Explicit error constructors 2014-07-01 14:57:25 -04:00
Zachary Michaels 849c52c7ed Remove unused array in cn_slow_hash 2014-07-01 14:57:25 -04:00
Thomas Winget d433a696e5 wallet RPC converted to use new transaction semantics
wallet RPC now uses wallet2::create_transactions and wallet2::commit_tx instead
of wallet2::transfer.  This made it possible to add the RPC call /transfer_split, which
will split transactions automatically if they are too large.  The old call to
/transfer will return an error stating to use /transfer_split if multiple
transactions are needed to fulfill the request.
2014-06-30 07:16:50 -04:00
Thomas Winget 2011b50280 removed erroneous printing of newlines 2014-06-30 07:16:50 -04:00
Thomas Winget 7c7696a830 missed removing a debug print 2014-06-30 07:16:50 -04:00
Thomas Winget e5ab98a6f4 removed some debugging code (really stupid printf-style debuggng.. 2014-06-30 07:16:50 -04:00
tom 62109840d6 Transaction splitting *seems* to be working!!! 2014-06-30 07:16:50 -04:00
Thomas Winget 9bfe0b9b6c Added confirmation prompt if transactions are to be split 2014-06-30 07:16:50 -04:00
Thomas Winget 002ce963bf added back successful tx message. oops. 2014-06-30 07:16:50 -04:00
Thomas Winget 8166650ae0 up tx splits limit 5 -> 30 2014-06-30 07:16:50 -04:00
Thomas Winget 2e048a4679 final changes to get transaction splitting building. needs testing. 2014-06-30 07:16:50 -04:00
tom 79e59d155b working on dividing functions in prep for tx splitting 2014-06-30 07:16:50 -04:00
Thomas Winget fc1180bc6c Added comments to wallet functions 2014-06-30 07:16:50 -04:00
Thomas Winget 55721da1fd Revert "Do not fall over when refreshing balance fails" 2014-06-30 06:45:20 -04:00
Matthew Little b87577f444 Do not fall over when refreshing balance fails 2014-06-29 18:04:29 -06:00
mydesktop eba62452c0 set max block size for gbt 2014-06-26 16:42:24 -04:00
monero-project 2a2b36d425 fix function typo 2014-06-24 13:30:41 -04:00
monero-project c050ff43bf Fix copy/paste bug, thx Boolberry 2014-06-24 13:20:15 -04:00
NoodleDoodleNoodleDoodleNoodleDoodleNoo e12ccdf905 Update slow-hash.c
1. Fix for Mac OSX compilation errors.
2014-06-19 23:49:25 -07:00
NoodleDoodleNoodleDoodleNoodleDoodleNoo 156312f64a Update slow-hash.c
1. Added multiplication support in 32-bit mode
2014-06-16 21:13:05 -07:00
NoodleDoodleNoodleDoodleNoodleDoodleNoo 5fcac268b7 Update miner.cpp
1. Added support for scratchpad memory allocation.
2014-06-16 03:35:55 -07:00
NoodleDoodleNoodleDoodleNoodleDoodleNoo 72643c47da Update slow-hash.c
1. Added huge pages support and optimized scratchpad twiddling. (credits to dga).
2. Added aes-ni key expansion support.
3. Minor speedup to scratchpad initialization/finalization.
2014-06-16 03:35:09 -07:00
monero-project 9853ba8e06 Merge pull request #33 from mikezackles/arch_linux_build_fixes
Arch Linux build fixes
2014-06-15 14:02:49 -04:00
fluffypony 3bc16dc0e6 proper tx_pool handling from CryptoZoidberg / BBR 2014-06-15 09:48:13 +02:00
monero-project 0ddbd20129 added checkpoint @ 80000 2014-06-14 13:17:27 -04:00
Thomas Winget c49cb04610 changed wallet mnemonic to use cout so it doesn't print to log 2014-06-12 19:39:02 -04:00
tom 205494f0d1 change hash for keygen from blake to keccak 2014-06-12 19:38:56 -04:00
tom 0c85229924 changed text a bit more 2014-06-12 19:38:29 -04:00
tom 305def9493 changed some print messages 2014-06-12 19:38:21 -04:00
Thomas Winget da37b6f15b allow two-random-numbers wallet generation (but not as default) 2014-06-12 19:05:52 -04:00
Thomas Winget b6a4751197 reworked command line args for simplewallet.
--generate-new-wallet and --wallet-file are now properly mutually-exclusive.
2014-06-12 19:05:52 -04:00
Thomas Winget ce352392d5 DRY cin input_line (and test replacement of non-DRY usage) 2014-06-12 19:05:52 -04:00
Thomas Winget 537b911af1 stupid signed arithmetic. 2014-06-12 19:05:52 -04:00
Thomas Winget 8bc032ed09 more pointer-based derp 2014-06-12 19:05:51 -04:00
Thomas Winget 72c3f36ca4 fixed some pointer- and loop-based derps 2014-06-12 19:05:51 -04:00