Commit graph

8728 commits

Author SHA1 Message Date
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
45bd182363 needed to remove REQUIRED from find_package(Threads) 2014-06-30 07:23:49 -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
4c67dbb08e Merge pull request #55 from monero-project/revert-54-master
Revert "Do not fall over when refreshing balance fails"
2014-06-30 06:47:48 -04:00
Thomas Winget
55721da1fd Revert "Do not fall over when refreshing balance fails" 2014-06-30 06:45:20 -04:00
monero-project
e10100be20 Merge pull request #54 from zone117x/master
Do not fall over when refreshing balance fails
2014-06-29 23:11:28 -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
monero-project
05a5c62fe8 Merge pull request #48 from NoodleDoodleNoodleDoodleNoodleDoodleNoo/master
Update slow-hash.c with optimized scratchpad operations
2014-06-19 20:23:37 -04: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
NoodleDoodleNoodleDoodleNoodleDoodleNoo
8fc42a21fc Merge branch 'master' of https://github.com/monero-project/bitmonero 2014-06-16 03:32:09 -07:00
NoodleDoodleNoodleDoodleNoodleDoodleNoo
81cf5650c4 Revert "Update slow-hash.c"
This reverts commit 37c5f393f1.
2014-06-16 03:22:33 -07:00
NoodleDoodleNoodleDoodleNoodleDoodleNoo
802d58054f Revert "Update miner.cpp"
This reverts commit c0520ad63d.
2014-06-16 03:22:27 -07:00
NoodleDoodleNoodleDoodleNoodleDoodleNoo
c0520ad63d Update miner.cpp
1. Added scratchpad memory allocation support.
2014-06-16 02:00:44 -07:00
NoodleDoodleNoodleDoodleNoodleDoodleNoo
37c5f393f1 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 01:58:17 -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
monero-project
88fe57fd8b Merge pull request #41 from fluffypony/master
proper tx_pool handling from CryptoZoidberg / BBR
2014-06-15 14:01:00 -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
monero-project
94cc5a7d71 Merge pull request #37 from tewinget/signals_fix
Fixed console handler not properly exiting on SIGINT and such
2014-06-13 12:01:07 -04:00
Thomas Winget
a521046ff2 Fixed console handler not properly exiting on SIGINT and such 2014-06-13 00:09:09 -04:00
monero-project
5489112b11 Merge pull request #35 from tewinget/master
Add electrum-seed wallet backup/recovery 2
2014-06-12 19:41:37 -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