Commit graph

123 commits

Author SHA1 Message Date
Zachary Michaels
a3f5764869 Add transaction size limit
Transactions larger than the limit will not enter the pool
2014-07-17 16:53:48 -04:00
Zachary Michaels
4d25350a82 Use const where appropriate in tx_pool 2014-07-17 16:31:31 -04:00
Zachary Michaels
9872d205ff Make some tx_pool methods static 2014-07-17 14:02:17 -04:00
Zachary Michaels
85a04cb168 Make some tx_pool methods private 2014-07-17 11:25:41 -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
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
Thomas Winget
d22e458c6c builds, but doesn't link. other than that, electrum-style recovery implemented (but not tested\!) 2014-06-12 19:05:51 -04:00
Thomas Winget
8661f9a970 missing '.at' on two map calls. built on some machines, very strange... 2014-06-12 19:05:51 -04:00
Thomas Winget
e89949c766 revert 'dirty hack' change to crypto.h. need a better way for sure. 2014-06-12 19:05:51 -04:00
tom
cd63132502 compile issues, resolve later. commiting because switching machines 2014-06-12 19:05:51 -04:00
tom
f70bc3a345 defaulted new parameters in modified functions 2014-06-12 19:05:51 -04:00
Thomas Winget
4f382b3830 most functions prototyped/modified for wallet recovery 2014-06-12 19:05:51 -04:00
mydesktop
ea99573f99 new error code for rpc 2014-06-11 17:39:59 -04:00
mydesktop
75fc3e90b1 Fix for orphan fix (check blocksize) 2014-06-11 17:32:53 -04:00