Commit graph

243 commits

Author SHA1 Message Date
jebes
9d6f9335d1 HOW DO I GIT? 2014-09-11 10:20:17 -04:00
jebes
a70bf86037 Documented varint 2014-09-11 10:14:05 -04:00
fluffypony
d21cf293e1 added license to CMake 2014-09-11 08:25:07 +02:00
fluffypony
8d8b47e69f more dynamic miniupnp fixes 2014-09-10 20:01:30 +02:00
fluffypony
59c0423eae miniupnpc includes fixed 2014-09-10 18:22:20 +02:00
fluffypony
81490d2aea miniupnpc changes for freebsd 2014-09-10 14:19:42 +02:00
fluffypony
ccb2ab2b7b mmap on FreeBSD doesn't have MAP_HUGETLB 2014-09-10 14:01:39 +02:00
fluffypony
110f110181 Include sys/time.h on BSD 2014-09-10 13:58:43 +02:00
fluffypony
a8d043b6dd replace ftime with gettimeofday on FreeBSD because lcompat is stupid 2014-09-10 13:55:39 +02:00
fluffypony
0e343ecfdf make FreeBSD use -lcompat till we can fix ftime() 2014-09-10 13:25:34 +02:00
jebes
c085e9294f commented util.h 2014-09-09 20:18:23 -04:00
fluffypony
266c639f4f more FreeBSD fixes 2014-09-09 14:49:13 +02:00
fluffypony
e1d31e0a8b malloc.h reference fixed for FreeBSD 2014-09-09 14:07:57 +02:00
fluffypony
6afbdd9754 FreeBSD alloca.h reference fixed 2014-09-09 12:37:19 +02:00
fluffypony
4ba680f294 a few more error messages moved to log level 1 2014-09-09 12:28:16 +02:00
fluffypony
cf5a8b1d6c moved non-critical warnings and errors to log level 1 2014-09-09 11:32:00 +02:00
fluffypony
4290c78160 build number increase after release 2014-09-07 08:33:41 +02:00
iamsmooth
0a9f2f5236 fix checkpoints 2014-09-06 21:56:39 +02:00
iamsmooth
07680e553f bug fix to checkpoint-on-restore; still fails on 612 2014-09-06 21:56:34 +02:00
iamsmooth
480cf9668f checkpoints on restore; currently fails on 212 checkpoint 2014-09-06 21:56:29 +02:00
rfree2monero
2ef0aee81d Fix tree-hash cnt n^2. Asserts, comment. Squash2 2014-09-06 21:56:24 +02:00
Thomas Winget
c05489938f override for get_block_longhash for block 202612 2014-09-06 21:56:18 +02:00
Thomas Winget
9a16bb9936 added double-check for 202612 block id
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-06 21:56:12 +02:00
Thomas Winget
115f9523fa hex_to_pod needs the destination as an arg, as opposed to it returning the pod 2014-09-06 21:56:06 +02:00
Thomas Winget
a544603a7b Override for block hashing for block 202612
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-06 21:54:58 +02:00
fluffypony
f8025cada9 fixed OS X malloc.h reference 2014-09-02 12:08:27 +02:00
fluffypony
6f04cdbd07 bumped build number 2014-08-25 18:54:48 +02:00
fluffypony
1829966fea quick additional patch 2014-08-23 22:43:13 +02:00
fluffypony
db69298b95 quick fee ramp to prevent spam attack 2014-08-23 22:21:18 +02:00
Jakob Lind
67b91ea769 added view_key to wallet RPC command query_key 2014-08-05 08:57:08 +02:00
Jakob Lind
da523f30fc added viewkey command to CLI 2014-08-05 08:53:30 +02:00
Jakob Lind
0c3255ead8 query_key command in wallet rpc.
only support mnemonic as key_type currently
2014-08-05 08:17:23 +02:00
Jakob Lind
2ba77629ad refactoring. get seed code in wallet2 2014-08-03 16:58:21 +02:00
Jakob Lind
6575d4ebe5 check its deterministic wallet before printing seed
when running the seed command
2014-08-03 16:05:15 +02:00
Jakob Lind
d0c8532819 remove help text about seed only displayed once 2014-08-03 16:05:15 +02:00
Jakob Lind
4fce57b9ad added seed command to get deterministic seed.
not yet password protected
2014-08-03 16:05:15 +02:00
Thomas Winget
bdac624899 restored wallets will have timestamp set to June 8 2014. 2014-08-03 09:49:31 -04:00
fluffypony
9228dbf1e9 build number increased in staging 2014-08-02 17:15:46 +02:00
Riccardo Spagni
ba99a86333 Merge pull request #73 from jakoblind/refresh_height
Optional height parameter for wallet refresh
2014-08-02 11:13:26 +02:00
Riccardo Spagni
d1b0ee7ecd Merge pull request #64 from mikezackles/bytecoin_tx_pool_tmp
tx pool fixes, courtesy of Bytecoin
2014-08-01 17:31:15 +02:00
Jakob Lind
29c675acc0 #36 make it compile and work properly 2014-08-01 11:29:55 +02:00
Jakob Lind
e4273f2415 #36 simplewallet refresh include optional height param
height param is used optionally in refresh command 

TODO: This should also be the default behaviour 
when generating a new wallet.
2014-08-01 10:17:50 +02:00
Riccardo Spagni
0a87cb0b33 Merge pull request #70 from fluffypony/master
New readme, license changes
2014-07-23 18:26:06 +02:00
Erik Kimmo
a59b6205cd wallet rpc: actually populate the extra while assembling a transaction 2014-07-23 19:27:23 +04:00
fluffypony
6fc995fe5d License updated to BSD 3-clause 2014-07-23 15:03:52 +02:00
Thomas Winget
a99143444c Changed time_t to uint64_t for serialization
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-23 05:59:31 -04:00
Thomas Winget
ad4061002c Missed serializing a get_connections RPC response parameter 2014-07-22 20:54:45 -04:00
Zachary Michaels
2796a7f015 Add get_info command to daemon json rpc 2014-07-22 14:00:10 -04:00
Zachary Michaels
12596ad566 Add get_bulk_payments rpc call 2014-07-22 12:16:15 -04:00
Thomas Winget
9f88b7ce6b Added get_connections RPC call to daemon 2014-07-18 19:33:03 -04:00
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
61e447f7c8 Remove dead code 2014-07-17 19:18:24 -04:00
Zachary Michaels
e48cf2a3a9 Remove second tx size check 2014-07-17 18:47:18 -04:00
Zachary Michaels
23c914ccfe Don't check max tx size when adding to block
This is now done when adding transactions to the pool.
2014-07-17 17:11:21 -04:00
Zachary Michaels
e3b8c58496 Don't check for min fee when adding tx to block
This is now done when transactions enter the pool.
2014-07-17 17:10:35 -04:00
Zachary Michaels
232e23e90f Decrease max block size from 200% median to 130% 2014-07-17 16:56:31 -04:00
Zachary Michaels
c017bb0656 Use print_money in log 2014-07-17 16:56:28 -04:00
Zachary Michaels
d9f3421ce7 Minimum tx fee for entering pool 2014-07-17 16:55:40 -04:00
Zachary Michaels
8e99cee062 Start fresh if tx_pool deserialize fails 2014-07-17 16:53:48 -04:00
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
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