Commit Graph

5853 Commits

Author SHA1 Message Date
Jan Beich 4ee7781c46
epee: Drop deprecated Boost.Thread header
In file included from src/cryptonote_basic/hardfork.cpp:33:
In file included from src/blockchain_db/blockchain_db.h:42:
In file included from src/cryptonote_basic/hardfork.h:31:
contrib/epee/include/syncobj.h:37:10: fatal error: 'boost/thread/v2/thread.hpp' file not found
#include <boost/thread/v2/thread.hpp>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/rpc/daemon_handler.cpp:29:
In file included from src/rpc/daemon_handler.h:36:
In file included from src/p2p/net_node.h:41:
In file included from contrib/epee/include/net/levin_server_cp2.h:32:
In file included from contrib/epee/include/net/abstract_tcp_server2.h:324:
contrib/epee/include/net/abstract_tcp_server2.inl:44:10: fatal error: 'boost/thread/v2/thread.hpp' file not found
#include <boost/thread/v2/thread.hpp> // TODO
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

contrib/epee/include/math_helper.h: In member function 'bool epee::math_helper::average<val, default_base>::set_base()':
contrib/epee/include/syncobj.h:227:56: error: 'sleep_for' is not a member of 'boost::this_thread'
 #define  CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));}   epee::critical_region_t<decltype(x)>   critical_region_var(x)
                                                        ^
contrib/epee/include/syncobj.h:227:56: note: in definition of macro 'CRITICAL_REGION_LOCAL'
 #define  CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));}   epee::critical_region_t<decltype(x)>   critical_region_var(x)
                                                        ^~~~~~~~~
contrib/epee/include/syncobj.h:227:56: note: suggested alternative: 'sleep'
 #define  CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));}   epee::critical_region_t<decltype(x)>   critical_region_var(x)
                                                        ^
contrib/epee/include/syncobj.h:227:56: note: in definition of macro 'CRITICAL_REGION_LOCAL'
 #define  CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));}   epee::critical_region_t<decltype(x)>   critical_region_var(x)
                                                        ^~~~~~~~~
2018-05-16 15:24:12 +03:00
rbrunner7 af38d77020
[RELEASE] Fix broken interactive daemon 'limit' commands plus RPC calls 2018-05-16 15:23:35 +03:00
Gene Peters d969ac8f8b
Adding required library (dependency of boost::this_thread::sleep_for) 2018-05-16 15:23:24 +03:00
moneromooo-monero 6881768929
unit_tests: fix build after get_output_distribution signature change 2018-05-16 15:21:16 +03:00
moneromooo-monero 3b4715c495
ringct: do not show verification errors with default settings 2018-05-16 15:21:02 +03:00
moneromooo-monero 9360a0e057
cryptonote: make sure outPk setup always happens 2018-05-16 15:19:58 +03:00
hyc f6b33610a0
ITS#8831 move flag init into readhdr
Avoid stomping on flags from 1st readhdr invocation
2018-05-16 15:18:24 +03:00
hyc 72407cbeb1
Fix mdb_load append option
Use MDB_CURRENT to avoid seeking to new key when appending DUPs.
Reinit cursor on new batch, if appending DUPs.
2018-05-16 15:18:06 +03:00
moneromooo-monero 68b3bb81cf
blockchain: invalidate misc caches when popping blocks
Might be a bit heavy handed, but conservative.
2018-05-16 15:17:29 +03:00
jw 26bdc1e457
Merge pull request #26 from wowario/payment_id
remove payment_id
2018-05-11 18:31:15 -07:00
wowario b881f7521f
remove payment_id 2018-05-09 23:00:01 +03:00
jw 016d9aece4
Merge pull request #25 from wowario/mixin
set static ring size in wallet
2018-05-07 16:23:16 -07:00
wowario d00b812953
set static ring size 2018-05-07 23:30:16 +03:00
jw c0245860d8
Merge pull request #24 from Gingeropolous/patch-1
readme to include experimental code stipulations
2018-05-03 21:20:22 -07:00
Gingeropolous a552fcd930
readme to include experimental code stipulations
Updates the sections in the readme about contributing to stipulate that all experimental code will be considered "safe" for the blockchain and codebase until the USD valuation of 1 wownero reaches $1000. 

After $1000, more extensive review will be necessary.
2018-05-04 00:14:25 -04:00
jw 7f0f4a69cf
Merge pull request #22 from matthewincognito/fix-3350-3574
Fix various wallet bugs
2018-05-01 07:03:16 -07:00
moneromooo-monero a5e0a08e8a wallet2: request transactions in slices when scanning for known rings
This avoid massive memory consumption for huge wallets
2018-05-01 11:13:11 +01:00
moneromooo-monero 1035e47dd0 rpc: allow getting pruned blocks from gettransactions
and get them pruned in find_and_save_rings, since it does not need
the pruned data in the first place.

Also set decode_to_json to false where missing, we don't need this
either.
2018-05-01 11:08:00 +01:00
moneromooo-monero 4e75860da2 wallet2: fix misc issues when the ringdb can't be initialized 2018-05-01 10:52:47 +01:00
jw 022ec18c48
Merge pull request #20 from matthewincognito/stuck-daemon
Fix stuck daemon bug
2018-04-29 09:06:45 -07:00
jw fc8ba5c0a5
Merge pull request #21 from wowario/checkpoints
add checkpoints
2018-04-29 09:06:17 -07:00
wowario 4d477d8e12
add checkpoints 2018-04-28 11:22:58 +03:00
stoffu ac0b4b932f cryptonote_protocol_handler.inl: remove span read just now that failed to pass some basic tests
(cherry picked from commit 3880bf396a)
2018-04-28 08:04:48 +01:00
stoffu 70117562d5 cryptonote_protocol_handler.inl: fix return type mismatches (int vs bool)
(cherry picked from commit da249fd5ba)
2018-04-28 08:04:36 +01:00
jw da6964194f
Merge pull request #19 from wowario/patch-3
fix memory leak for Windows
2018-04-24 06:30:30 -07:00
wowario 4d93e66377
fix memory leak for Windows 2018-04-24 13:09:26 +03:00
jw 785942478b
Merge pull request #17 from wowario/master
fix signed unsigned conversion
2018-04-23 10:18:59 -07:00
wowario adfcdfef02
fix signed unsigned conversion 2018-04-23 19:43:04 +03:00
jw 7d928031f6
Merge pull request #16 from wowario/patch-2
Update LWMA difficulty algorithm
2018-04-23 08:28:58 -07:00
wowario a571be96f4
Update difficulty.cpp
Changed size_t  to match solvetime
2018-04-23 17:50:53 +03:00
jw cd0076c68c
Merge pull request #14 from wowario/patch-1
Update README.md
2018-04-21 04:14:35 -07:00
wowario 4882e3e0e1
Update README.md 2018-04-21 10:29:22 +03:00
jw e8bb8f4984
Merge pull request #13 from matthewincognito/fix-12
Lower number of blocks required to unlock balance
2018-04-20 18:03:14 -07:00
jwinterm 78f1e84139 Set v8 fork height and change version 2018-04-20 17:56:12 -07:00
Matthew Incognito 16feef0522
Lower number of blocks required to unlock balance
Set CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE to 4
2018-04-20 20:53:10 +01:00
jw e4c76da69c
Merge pull request #11 from wowario/dns-checkpoints
added checkpoints, silent DNS warning
2018-04-19 17:31:09 -07:00
wowario 6f9d70b246
add checkpoints 2018-04-19 21:42:48 +03:00
wowario 3ed6bf8518
silent dns warning 2018-04-19 21:17:43 +03:00
jw 66d8024b43
Merge pull request #10 from wownero/monero-specific-blockfix
block 202612 and 685498 fix
2018-04-19 08:36:24 -07:00
jw 43a6abcd10
Merge pull request #9 from matthewincognito/clang-build-fix
blockchain_blackball: fix build with CLANG 5
2018-04-19 06:31:05 -07:00
jw 8303962716
Merge pull request #8 from wowario/master
Turn off tests
2018-04-19 06:30:22 -07:00
jw 3162f5bcd6
Merge pull request #7 from wowario/readme
update readme
2018-04-19 06:30:02 -07:00
moneromooo-monero 52572e9b21
blockchain_blackball: fix build with CLANG 5
It doesn't like the explicit NULL dereference (which is fine, honest)

(cherry picked from commit 3367ed863c)
2018-04-19 12:17:25 +01:00
wowario 89edbb27b5
Turn off tests 2018-04-19 13:38:46 +03:00
wowario 019c9b0f56
update readme 2018-04-19 12:51:07 +03:00
jwinterm 0b26e58497 block 202612 and 685498 fix 2018-04-18 21:00:11 -07:00
jw da7337e623
Merge pull request #6 from wowario/ringsize-10
increase ringsize to 10 for v8
2018-04-18 20:19:52 -07:00
wowario 0ac4b8e63e
increase ringsize to 10 2018-04-19 04:21:25 +03:00
jw a47d1a3d75
Merge pull request #1 from wowario/difficulty-algorithm
Add LWMA difficulty algorithm
2018-04-16 05:12:39 -07:00
wowario efe03eb037
added LWMA 2018-04-16 11:57:28 +03:00