Commit Graph

3666 Commits

Author SHA1 Message Date
Riccardo Spagni 7869667799 Merge pull request #72 from fluffypony/master
move modified epee code to new classes, revert license
2014-07-25 18:47:41 +02:00
fluffypony 32f9d2b783 move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
Riccardo Spagni e70b57cdfb Merge pull request #71 from Jojatekok/master
Added a build script for Windows
2014-07-24 11:25:50 +02:00
Jojatekok fdd9f19c42 Added license for the Windows build script 2014-07-24 11:24:13 +02:00
Jojatekok 49f901513d Added a build script for Windows 2014-07-24 11:14:29 +02:00
Riccardo Spagni 0a87cb0b33 Merge pull request #70 from fluffypony/master
New readme, license changes
2014-07-23 18:26:06 +02:00
Riccardo Spagni eb8de58230 Merge pull request #69 from ekimmo/monero/master
wallet rpc: actually populate the extra while assembling a transaction
2014-07-23 17:47:48 +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
fluffypony 003b1f909d New README 2014-07-23 13:50:29 +02:00
Thomas Winget 55b92e3999 Merge pull request #68 from tewinget/daemon_rpc
daemon rpc get_connections call minor changes
2014-07-23 06:06:33 -04: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
mikezackles c31f6016b3 Merge pull request #67 from mikezackles/get_info
Add get_info command to daemon json rpc
2014-07-22 14:08:39 -04:00
Zachary Michaels 2796a7f015 Add get_info command to daemon json rpc 2014-07-22 14:00:10 -04:00
mikezackles 04c46fd46a Merge pull request #66 from mikezackles/master
Add get_bulk_payments rpc call
2014-07-22 12:19:20 -04:00
Zachary Michaels 12596ad566 Add get_bulk_payments rpc call 2014-07-22 12:16:15 -04:00
Thomas Winget 1c33b6cbee Merge pull request #65 from tewinget/daemon_rpc
Added get_connections RPC call to daemon

Only consists of new functionality and doesn't break build, merging per request.
2014-07-18 19:35:45 -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
Thomas Winget c6ffd810af Merge pull request #56 from tewinget/master
transaction splitting
2014-07-06 13:13:06 -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 034a1a865e Allow conditional compilation with VS 2013+ 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