Commit Graph

5896 Commits

Author SHA1 Message Date
hyc 00dd93971a 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-08 06:34:56 +01:00
hyc fa958d4b4b ITS#8831 move flag init into readhdr
Avoid stomping on flags from 1st readhdr invocation
2018-05-08 06:34:50 +01:00
Riccardo Spagni e8e2bd5212
Merge pull request #3751
2ade8dfb ringct: do not show verification errors with default settings (moneromooo-monero)
2018-05-05 09:09:54 +02:00
moneromooo-monero 2ade8dfb02
ringct: do not show verification errors with default settings 2018-05-04 08:27:41 +01:00
Riccardo Spagni af6febaa83
Merge pull request #3730
bb8c0f62 README.md: mention building deps with -fPIC for static builds (moneromooo-monero)
2018-04-29 21:37:18 +02:00
Riccardo Spagni 715754d7fd
Merge pull request #3723
16b20229 cryptonote_protocol_handler.inl: remove span read just now that failed to pass some basic tests (stoffu)
409bf2d6 cryptonote_protocol_handler.inl: fix return type mismatches (int vs bool) (stoffu)
2018-04-29 21:35:49 +02:00
moneromooo-monero bb8c0f62be
README.md: mention building deps with -fPIC for static builds 2018-04-29 20:09:15 +01:00
stoffu 16b2022991
cryptonote_protocol_handler.inl: remove span read just now that failed to pass some basic tests 2018-04-29 08:00:41 +09:00
stoffu 409bf2d642
cryptonote_protocol_handler.inl: fix return type mismatches (int vs bool) 2018-04-29 08:00:17 +09:00
Riccardo Spagni 333c7edeb9
Merge pull request #3711
c0e22ebc [RELEASE] Fix broken interactive daemon 'limit' commands plus RPC calls (rbrunner7)
2018-04-28 22:42:09 +02:00
Riccardo Spagni 78011db913
Merge pull request #3712
4b89d877 Adding required library (dependency of boost::this_thread::sleep_for) (Gene Peters)
2018-04-28 22:41:35 +02:00
Riccardo Spagni ec439a9376
Merge pull request #3707
76817605 epee: Drop deprecated Boost.Thread header (Jan Beich)
2018-04-28 22:40:59 +02:00
Riccardo Spagni 6d8498be1f
Merge pull request #3704
e2b72da4 mlog: fix setting no logs (moneromooo-monero)
2018-04-28 22:40:28 +02:00
Riccardo Spagni b085e11b52
Merge pull request #3696
b1a9e97b slow-hash: fix memory leak for Windows /karbowanec#41 (aivve)
2018-04-28 22:39:37 +02:00
Riccardo Spagni 123c0d7d4c
Merge pull request #3690
80dc5d21 Only log an error if fork version is higher AND is not known. (Thaer Khawaja)
2018-04-28 22:39:09 +02:00
Riccardo Spagni a48658017b
Merge pull request #3686
d003f07c speedup get_output_histogram for all amounts when min_count > 0 (moneromooo-monero)
df9d59ca wallet2: add missing parameters to get_output_histogram (moneromooo-monero)
2018-04-28 22:38:43 +02:00
Riccardo Spagni 8636599654
Merge pull request #3684
9670c917 import_multisig_info: fix sanity check crash in detach_blockchain (Mikhail Mitkevichl)
2018-04-28 22:38:15 +02:00
Riccardo Spagni 31b31effc2
Merge pull request #3668
c6774215 Build: remove UPnP definition from snap (anonimal)
1e20d705 Build: update CMake and p2p for in-tree miniupnp (anonimal)
9e1f8bfa CMake: update new location of in-tree miniupnpc (anonimal)
c7b66d3d Build: add miniupnp submodule (anonimal)
e9622166 Build: remove in-tree miniupnpc (anonimal)
2018-04-28 22:27:24 +02:00
Riccardo Spagni 57a1bcb6b9
Merge pull request #3666
5ef4bf05 simplewallet: fix help message of sign_transfer (stoffu)
2018-04-28 22:26:26 +02:00
Riccardo Spagni fde2a31964
Merge pull request #3665
e561a0c3 WalletManagerImpl: reuse existing connection to daemon instead of reconnectivng every time (stoffu)
2018-04-28 22:26:02 +02:00
Riccardo Spagni 2b16afedf9
Merge pull request #3664
0299d36e daemon: read config file before reading any other args (stoffu)
2018-04-28 22:25:35 +02:00
Riccardo Spagni 3384b0f0f4
Merge pull request #3634
26dc764a device: add a one off override keyword where appropriate (moneromooo-monero)
2018-04-28 22:25:10 +02:00
Riccardo Spagni 44b3c9bd55
Merge pull request #3631
fe427170 simplewallet: add version command (moneromooo-monero)
41b95ad4 daemon: add a version command (moneromooo-monero)
2018-04-28 22:24:28 +02:00
Riccardo Spagni f09edc9fad
Merge pull request #3625
9dc67af1 util: log stack trace on crash (moneromooo-monero)
2018-04-28 22:24:12 +02:00
Riccardo Spagni 6fec5f9fdc
Merge pull request #3584
7d0505c8 wallet2: increase rpc timeout for get_output_distribution (moneromooo-monero)
96370488 add top height to get_output_distribution, and cache it for rct (moneromooo-monero)
bc4d53be rpc: add missing perf timer for get_output_distribution (moneromooo-monero)
2018-04-28 22:23:42 +02:00
Gene Peters 4b89d877d7 Adding required library (dependency of boost::this_thread::sleep_for) 2018-04-26 11:34:59 -07:00
rbrunner7 c0e22ebcca [RELEASE] Fix broken interactive daemon 'limit' commands plus RPC calls 2018-04-26 20:08:17 +02:00
Jan Beich 76817605bd
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-04-25 22:23:42 +01:00
moneromooo-monero e2b72da4ed
mlog: fix setting no logs 2018-04-25 20:42:31 +01:00
aivve b1a9e97b2d
slow-hash: fix memory leak for Windows /karbowanec#41 2018-04-24 20:47:29 +09:00
anonimal c677421594
Build: remove UPnP definition from snap 2018-04-23 22:12:08 +00:00
anonimal 1e20d705e7
Build: update CMake and p2p for in-tree miniupnp 2018-04-23 22:12:08 +00:00
anonimal 9e1f8bfaa3
CMake: update new location of in-tree miniupnpc 2018-04-23 22:12:08 +00:00
anonimal c7b66d3d8c
Build: add miniupnp submodule
Though we only need miniupnpc, rebasing and maintaining a miniupnpc-only
repo is unrealistic.
2018-04-23 22:12:08 +00:00
Thaer Khawaja 80dc5d2110 Only log an error if fork version is higher AND is not known. 2018-04-23 07:53:46 -07:00
Mikhail Mitkevichl 9670c917d1 import_multisig_info: fix sanity check crash in detach_blockchain 2018-04-23 09:20:49 +03:00
moneromooo-monero d003f07c59
speedup get_output_histogram for all amounts when min_count > 0
This skips the vast majority of "dust" output amounts with just
one instance on the chain. Clocks in at 0.15% of the original
time on testnet.
2018-04-22 22:36:01 +01:00
moneromooo-monero df9d59caff
wallet2: add missing parameters to get_output_histogram 2018-04-22 22:35:58 +01:00
anonimal e962216678
Build: remove in-tree miniupnpc
Will be replaced by a submodule.
2018-04-19 06:28:55 +00:00
stoffu 5ef4bf05c5
simplewallet: fix help message of sign_transfer 2018-04-19 09:41:01 +09:00
stoffu e561a0c329
WalletManagerImpl: reuse existing connection to daemon instead of reconnectivng every time 2018-04-19 09:33:37 +09:00
stoffu 0299d36e76
daemon: read config file before reading any other args 2018-04-19 09:29:57 +09:00
moneromooo-monero 26dc764ab0
device: add a one off override keyword where appropriate 2018-04-14 11:00:12 +01:00
moneromooo-monero fe427170b9
simplewallet: add version command 2018-04-13 18:48:06 +01:00
moneromooo-monero 41b95ad40e
daemon: add a version command 2018-04-13 18:48:02 +01:00
moneromooo-monero 7d0505c85d
wallet2: increase rpc timeout for get_output_distribution 2018-04-13 10:55:41 +01:00
moneromooo-monero 96370488c0
add top height to get_output_distribution, and cache it for rct
This should cache the vast majority of calls for long running wallets
2018-04-13 10:55:38 +01:00
moneromooo-monero 9dc67af187
util: log stack trace on crash 2018-04-12 20:36:47 +01:00
moneromooo-monero bc4d53bece
rpc: add missing perf timer for get_output_distribution 2018-04-12 18:06:22 +01:00
Riccardo Spagni 41a66bf05b
Merge pull request #3619
3edef51d blockchain_blackball: fix build with CLANG 5 (moneromooo-monero)
2018-04-12 15:11:02 +02:00