Commit Graph
59 Commits
Author SHA1 Message Date
Zachary MichaelsandRiccardo Spagni f9f4fc1b00 Change to -static gcc flag 2014-09-15 22:28:35 +02:00
Zachary MichaelsandRiccardo Spagni 44f920b0fd Set the boost thread api for mingw 2014-09-15 22:27:16 +02:00
Zachary MichaelsandRiccardo Spagni a31d6bb9fb Hack to allow toolchains to pass flags to mingw 2014-09-15 22:27:16 +02:00
Zachary MichaelsandRiccardo Spagni 9c848ceae7 Ignore another warning to make mingw happy 2014-09-15 22:27:16 +02:00
Zachary MichaelsandRiccardo Spagni 0fe311b2f0 Remove unused CMake function 2014-09-15 22:25:04 +02:00
Zachary MichaelsandRiccardo Spagni 8d6a04a9f0 Default to static linking on both MSVC and MINGW 2014-09-15 22:22:31 +02:00
Zachary MichaelsandRiccardo Spagni 95a2701ec5 Change testnet prefix 2014-09-15 15:55:07 +02:00
Zachary MichaelsandRiccardo Spagni 120c84d04f Make P2P use the testnet data dir 2014-09-15 15:55:07 +02:00
Zachary MichaelsandRiccardo Spagni 23525655fa Replace macro with equivalent function call
Also removed useless bool return
2014-09-15 15:55:07 +02:00
Zachary MichaelsandRiccardo Spagni d03308734b Separate testnet address prefix 2014-09-15 15:54:59 +02:00
Zachary MichaelsandRiccardo Spagni ee1bacc64f Add testnet seed nodes 2014-09-15 15:54:24 +02:00
Zachary MichaelsandRiccardo Spagni 4a6eb0a016 Create testnet data dir if necessary 2014-09-15 15:54:24 +02:00
Zachary MichaelsandRiccardo Spagni 018e251cc0 Separate testnet default data dir 2014-09-15 15:54:19 +02:00
Zachary MichaelsandRiccardo Spagni 3ef7f33300 Add descriptions for RPC command line params 2014-09-15 15:53:50 +02:00
Zachary MichaelsandRiccardo Spagni 1e38a02bb5 Add testnet genesis tx as output by CN reference 2014-09-15 15:53:50 +02:00
Zachary MichaelsandRiccardo Spagni 96eed84aad Pass tx and nonce to genesis block constructor 2014-09-15 15:53:50 +02:00
Zachary MichaelsandRiccardo Spagni 257077a96b Separate network id for testnet 2014-09-15 15:53:50 +02:00
Zachary MichaelsandRiccardo Spagni 658b6690a3 Separate rpc port for testnet 2014-09-15 15:53:46 +02:00
Zachary MichaelsandRiccardo Spagni 98ed9a41f7 Separate p2p port for testnet 2014-09-15 15:53:10 +02:00
Zachary MichaelsandRiccardo Spagni fb4146fa34 Reorganize testnet constants 2014-09-15 15:53:10 +02:00
Zachary MichaelsandRiccardo Spagni 79862ad1de Add testnet constants 2014-09-15 15:53:10 +02:00
Zachary MichaelsandRiccardo Spagni 07470fd400 Add testnet flag
Source: cryptonotefoundation
2014-09-15 15:53:01 +02: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
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 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
Zachary Michaels 6bee34e4a6 Fix to disable LTO for Clang
The previous code was assuming Apple == Clang.  This change should both
enable LTO when using gcc on Apple and fix Clang when using it on other
platforms.
2014-06-12 15:38:28 -04:00
Zachary Michaels e84f39ae54 Link to pthreads on non-apple unix 2014-06-11 13:15:23 -04:00
Zachary Michaels c8626dff3f Gcc 4.9 LTO fix
The new lto format requires use of the gcc-provided gcc-ar and
gcc-ranlib binaries.
2014-06-11 13:13:43 -04:00