Hi,
I'm new to cryptonote technology. I use a dual boot computer, so with some bitcoin type wallets I install the blockchain/wallet on an NTFS partition so I can share them between O/S.
With monero, this seems to cause a few issues. Firstly, the monero daemon on first start up throws up a warning which either seems windows or linux based, possibly due to the p2pstate.bin poolstate.bin files. Restarting in the same O/S and the issue disappears. Secondly, it would seem that the wallet files are incompatible, throwing up a memory allocation error while trying to open the wallet.
I've decided to use separate blockchain daemons on each O/S, but would like to find a way to share the wallet. Would it be possible to have one wallet files in windows, and set up a duplicate wallet file in linux using the following:
https://getmonero.org/knowledge-base/user-guides/restore_account ?
For issue one, could you run the daemon with the following flag:
--log-level 2
On Linux this should be done from the terminal. Thus, cd to the relevant directory or open the terminal from the directory itself and then:
./monerod --log-level 2
On Windows you should launch from the command prompt (in the relevant directory)
monerod.exe --log-level 2
The blockchain (and the full bitmonero directory for that matter) should be compatible accross different operating systems.
For issue two, the wallet
cache is incompatible, whereas the .keys file is compatible. Thus, you'd have to remove the wallet cache on either of your systems. Note that there are three wallet files,
(this is the wallet cache), .keys, and .address.txt (contains your public address). In addition, note that your wallet cache contains private tx keys and recipient addresses for outgoing transfers. Thus, it may be detrimental to remove it. It's generally advised to backup the old, incompatible cache and then remove it.
On Ubuntu 16.04, compiled from github release tag source with all packages except documentation and libgtest-dev (the latter causing compilation issues). release binaries installed in /usr/local/bin.
monerod --data-dir /windows/Blockchain/XMR --log-level 2
7-Jan-18 22:10:54.203737 Monero 'Wolfram Warptangent' (v0.10.1.0-release)
2017-Jan-18 22:10:54.204221 Initializing cryptonote protocol...
2017-Jan-18 22:10:54.204293 Cryptonote protocol initialized OK
2017-Jan-18 22:10:54.204476 Initializing p2p server...
2017-Jan-18 22:11:14.208158 DNS seed node lookup either timed out or failed, falling back to defaults
2017-Jan-18 22:11:14.208358 Seed node: 161.67.132.39:18080
2017-Jan-18 22:11:14.208449 Seed node: 163.172.182.165:18080
2017-Jan-18 22:11:14.208542 Seed node: 198.74.231.92:18080
2017-Jan-18 22:11:14.208611 Seed node: 204.12.248.66:18080
2017-Jan-18 22:11:14.208693 Seed node: 5.9.100.248:18080
2017-Jan-18 22:11:14.208761 Number of seed nodes: 5
2017-Jan-18 22:11:14.211542 Set limit-up to 2048 kB/s
2017-Jan-18 22:11:14.211923 Set limit-down to 8192 kB/s
2017-Jan-18 22:11:14.212025 Set limit-up to 2048 kB/s
2017-Jan-18 22:11:14.212139 Set limit-down to 8192 kB/s
2017-Jan-18 22:11:14.212711 Exception: boost::archive::archive_exception
2017-Jan-18 22:11:14.212765 Unwound call stack:
2017-Jan-18 22:11:14.213093 1 0x64a8a0 __cxa_throw + 0x70
2017-Jan-18 22:11:14.213339 2 0x7f13843a84f4 void boost::serialization::throw_exception
(boost::archive::archive_exception const&) + 0xc4
2017-Jan-18 22:11:14.213554 3 0x7f13843abf26 boost::archive::basic_binary_iarchive::init() + 0x186
2017-Jan-18 22:11:14.213788 4 0x66f2ec nodetool::node_server >::init(boost::program_options::variables_map const&) [clone .constprop.423] + 0xb3c
2017-Jan-18 22:11:14.213990 5 0x6ba82d daemonize::t_p2p::t_p2p(boost::program_options::variables_map const&, daemonize::t_protocol&) [clone .constprop.240] + 0x9ad
2017-Jan-18 22:11:14.214171 6 0x504d06 daemonize::t_daemon::t_daemon(boost::program_options::variables_map const&) + 0x276
2017-Jan-18 22:11:14.214353 7 0x553533 daemonize::t_executor::run_interactive(boost::program_options::variables_map const&) + 0xa3
2017-Jan-18 22:11:14.214545 8 0x498a19 main + 0x4269
2017-Jan-18 22:11:14.214954 9 0x7f13853a0830 __libc_start_main + 0xf0
2017-Jan-18 22:11:14.215168 10 0x4a8899 _start + 0x29
2017-Jan-18 22:11:14.215379 11 0x0
2017-Jan-18 22:11:14.215535 ERROR /home/paul/Wallets/src/monero-0.10.1/src/p2p/net_node.inl:145 Failed to load p2p config file, falling back to default config
2017-Jan-18 22:11:14.215928 Binding on 0.0.0.0:18080
2017-Jan-18 22:11:14.216123 Net service bound to 0.0.0.0:18080
2017-Jan-18 22:11:14.216207 Attempting to add IGD port mapping.
2017-Jan-18 22:11:15.185140 Exception: boost::thread_interrupted
2017-Jan-18 22:11:15.185247 Unwound call stack:
2017-Jan-18 22:11:15.185507 1 0x64a8a0 __cxa_throw + 0x70
2017-Jan-18 22:11:15.185696 2 0x7f1383888506 boost::this_thread::interruption_point() + 0x76
2017-Jan-18 22:11:15.185921 3 0x5edd44 nodetool::node_server >::init(boost::program_options::variables_map const&)::{lambda()#1}::operator()() const [clone .constprop.596] + 0x2e4
2017-Jan-18 22:11:15.186105 4 0x7f13838885d5 boost::this_thread::interruption_point() + 0x145
2017-Jan-18 22:11:15.186369 5 0x7f13857506ba start_thread + 0xca
2017-Jan-18 22:11:15.188462 6 0x7f138548682d clone + 0x6d
2017-Jan-18 22:11:15.189083 7 0x0
2017-Jan-18 22:11:15.303367 Exception: boost::thread_interrupted
2017-Jan-18 22:11:15.303485 Unwound call stack:
2017-Jan-18 22:11:15.303763 1 0x64a8a0 __cxa_throw + 0x70
2017-Jan-18 22:11:15.303940 2 0x7f1383888506 boost::this_thread::interruption_point() + 0x76
2017-Jan-18 22:11:15.304148 3 0x5edd44 nodetool::node_server >::init(boost::program_options::variables_map const&)::{lambda()#1}::operator()() const [clone .constprop.596] + 0x2e4
2017-Jan-18 22:11:15.304313 4 0x7f13838885d5 boost::this_thread::interruption_point() + 0x145
2017-Jan-18 22:11:15.304550 5 0x7f13857506ba start_thread + 0xca
2017-Jan-18 22:11:15.304783 6 0x7f138548682d clone + 0x6d
2017-Jan-18 22:11:15.304992 7 0x0
2017-Jan-18 22:11:15.444841 Exception: boost::thread_interrupted
2017-Jan-18 22:11:15.444963 Unwound call stack:
2017-Jan-18 22:11:15.445246 1 0x64a8a0 __cxa_throw + 0x70
2017-Jan-18 22:11:15.445426 2 0x7f1383888506 boost::this_thread::interruption_point() + 0x76
2017-Jan-18 22:11:15.445633 3 0x5edd44 nodetool::node_server >::init(boost::program_options::variables_map const&)::{lambda()#1}::operator()() const [clone .constprop.596] + 0x2e4
2017-Jan-18 22:11:15.445795 4 0x7f13838885d5 boost::this_thread::interruption_point() + 0x145
2017-Jan-18 22:11:15.446030 5 0x7f13857506ba start_thread + 0xca
2017-Jan-18 22:11:15.446253 6 0x7f138548682d clone + 0x6d
2017-Jan-18 22:11:15.446457 7 0x0
2017-Jan-18 22:11:23.460820 Added IGD port mapping.
2017-Jan-18 22:11:23.461010 P2p server initialized OK
2017-Jan-18 22:11:23.461166 Initializing core rpc server...
2017-Jan-18 22:11:23.461261 Binding on 127.0.0.1:18081
2017-Jan-18 22:11:23.461401 Core rpc server initialized OK on port: 18081
2017-Jan-18 22:11:23.461467 Initializing core...
2017-Jan-18 22:11:23.463661 Exception: boost::archive::archive_exception
2017-Jan-18 22:11:23.463735 Unwound call stack:
2017-Jan-18 22:11:23.464031 1 0x64a8a0 __cxa_throw + 0x70
2017-Jan-18 22:11:23.464279 2 0x7f13843a84f4 void boost::serialization::throw_exception(boost::archive::archive_exception const&) + 0xc4
2017-Jan-18 22:11:23.464605 3 0x7f13843abf26 boost::archive::basic_binary_iarchive::init() + 0x186
2017-Jan-18 22:11:23.464853 4 0x590855 cryptonote::tx_memory_pool::init(std::__cxx11::basic_string, std::allocator > const&) + 0x4f5
2017-Jan-18 22:11:23.465049 5 0x68a9f5 cryptonote::core::init(boost::program_options::variables_map const&, cryptonote::test_options const*) + 0x75
2017-Jan-18 22:11:23.465234 6 0x5035e9 daemonize::t_daemon::run(bool) + 0x1e9
2017-Jan-18 22:11:23.465418 7 0x553540 daemonize::t_executor::run_interactive(boost::program_options::variables_map const&) + 0xb0
2017-Jan-18 22:11:23.465606 8 0x498a19 main + 0x4269
2017-Jan-18 22:11:23.465844 9 0x7f13853a0830 __libc_start_main + 0xf0
2017-Jan-18 22:11:23.466041 10 0x4a8899 _start + 0x29
2017-Jan-18 22:11:23.466252 11 0x0
2017-Jan-18 22:11:23.466376 ERROR /home/paul/Wallets/src/monero-0.10.1/src/common/boost_serialization_helper.h:108 Exception at [unserialize_obj_from_file], what=unsupported version
2017-Jan-18 22:11:23.466435 ERROR /home/paul/Wallets/src/monero-0.10.1/src/cryptonote_core/tx_pool.cpp:695 Failed to load memory pool from file /windows/Blockchain/XMR/poolstate.bin
2017-Jan-18 22:11:23.466834 Locking /windows/Blockchain/XMR/.daemon_lock
2017-Jan-18 22:11:23.467115 Loading blockchain from folder /windows/Blockchain/XMR/lmdb ...
2017-Jan-18 22:11:23.467194 option: fast
2017-Jan-18 22:11:23.467236 option: async
2017-Jan-18 22:11:23.467275 option: 1000
2017-Jan-18 22:11:23.468746 DB map size: 13958643712
2017-Jan-18 22:11:23.468844 Space used: 9793146880
2017-Jan-18 22:11:23.468883 Space remaining: 4165496832
2017-Jan-18 22:11:23.468921 Size threshold: 0
2017-Jan-18 22:11:23.469002 Percent used: 0.7016 Percent threshold: 0.8000
2017-Jan-18 22:11:23.469327 Threshold met (percent-based)
2017-Jan-18 22:11:23.469371 LMDB memory map needs to be resized, doing that now.
2017-Jan-18 22:11:23.469483 LMDB Mapsize increased. Old: 13312MiB, New: 14336MiB
2017-Jan-18 22:11:23.470356 Setting m_height to: 1226575
2017-Jan-18 22:11:23.471317 reorganizing from 1216496
2017-Jan-18 22:11:23.630864 reorganization done
2017-Jan-18 22:11:23.630983 [check_and_resize_for_batch] checking DB size
2017-Jan-18 22:11:23.631038 DB map size: 15032385536
2017-Jan-18 22:11:23.631081 Space used: 9793146880
2017-Jan-18 22:11:23.631122 Space remaining: 5239238656
2017-Jan-18 22:11:23.631161 Size threshold: 0
2017-Jan-18 22:11:23.631224 Percent used: 0.6515 Percent threshold: 0.8000
2017-Jan-18 22:11:23.763102 Blockchain initialized. last block: 1226574, d0.h6.m21.s49 time ago, current difficulty: 6017385564
2017-Jan-18 22:11:23.763314 Blockchain checkpoints file not found
2017-Jan-18 22:11:23.763838 DNSSEC not available for checkpoint update at URL: checkpoints.moneropulse.co, skipping.
2017-Jan-18 22:11:23.763938 DNSSEC validation failed for checkpoint update at URL: checkpoints.moneropulse.co, skipping.
2017-Jan-18 22:11:23.764356 DNSSEC not available for checkpoint update at URL: checkpoints.moneropulse.se, skipping.
2017-Jan-18 22:11:23.764460 DNSSEC validation failed for checkpoint update at URL: checkpoints.moneropulse.se, skipping.
2017-Jan-18 22:11:23.764846 DNSSEC not available for checkpoint update at URL: checkpoints.moneropulse.org, skipping.
2017-Jan-18 22:11:23.764946 DNSSEC validation failed for checkpoint update at URL: checkpoints.moneropulse.org, skipping.
2017-Jan-18 22:11:23.765313 DNSSEC not available for checkpoint update at URL: checkpoints.moneropulse.net, skipping.
2017-Jan-18 22:11:23.765404 DNSSEC validation failed for checkpoint update at URL: checkpoints.moneropulse.net, skipping.
2017-Jan-18 22:11:23.765467 WARNING: no two valid MoneroPulse DNS checkpoint records were received
2017-Jan-18 22:11:23.765540 [check_and_resize_for_batch] checking DB size
2017-Jan-18 22:11:23.765604 DB map size: 15032385536
2017-Jan-18 22:11:23.765666 Space used: 9793146880
2017-Jan-18 22:11:23.765728 Space remaining: 5239238656
2017-Jan-18 22:11:23.765853 Size threshold: 0
2017-Jan-18 22:11:23.765978 Percent used: 0.6515 Percent threshold: 0.8000
2017-Jan-18 22:11:23.766121 [check_and_resize_for_batch] checking DB size
2017-Jan-18 22:11:23.766226 DB map size: 15032385536
2017-Jan-18 22:11:23.766331 Space used: 9793146880
2017-Jan-18 22:11:23.766432 Space remaining: 5239238656
2017-Jan-18 22:11:23.766533 Size threshold: 0
2017-Jan-18 22:11:23.766650 Percent used: 0.6515 Percent threshold: 0.8000
2017-Jan-18 22:11:23.766775 Threshold met (percent-based)
2017-Jan-18 22:11:23.766878 [batch] DB resize needed
2017-Jan-18 22:11:23.768828 LMDB Mapsize increased. Old: 14336MiB, New: 15360MiB
2017-Jan-18 22:11:23.769115 CHECKPOINT PASSED FOR HEIGHT 1 <771fbcd656ec1464d3a02ead5e18644030007a0fc664c0a964d30922821a8148>
2017-Jan-18 22:11:23.769227 CHECKPOINT PASSED FOR HEIGHT 10
2017-Jan-18 22:11:23.769489 CHECKPOINT PASSED FOR HEIGHT 100
2017-Jan-18 22:11:23.770110 CHECKPOINT PASSED FOR HEIGHT 10000
2017-Jan-18 22:11:23.770506 CHECKPOINT PASSED FOR HEIGHT 22231 <7cb10e29d67e1c069e6e11b17d30b809724255fee2f6868dc14cfc6ed44dfb25>
2017-Jan-18 22:11:23.770871 CHECKPOINT PASSED FOR HEIGHT 29556 <53c484a8ed91e4da621bb2fa88106dbde426fe90d7ef07b9c1e5127fb6f3a7f6>
2017-Jan-18 22:11:23.771222 CHECKPOINT PASSED FOR HEIGHT 50000 <0fe8758ab06a8b9cb35b7328fd4f757af530a5d37759f9d3e421023231f7b31c>
2017-Jan-18 22:11:23.771598 CHECKPOINT PASSED FOR HEIGHT 80000
2017-Jan-18 22:11:23.772041 CHECKPOINT PASSED FOR HEIGHT 202612
2017-Jan-18 22:11:23.772098 CHECKPOINT PASSED FOR HEIGHT 202613
2017-Jan-18 22:11:23.772177 CHECKPOINT PASSED FOR HEIGHT 202614
2017-Jan-18 22:11:23.772518 CHECKPOINT PASSED FOR HEIGHT 205000 <5d3d7a26e6dc7535e34f03def711daa8c263785f73ec1fadef8a45880fde8063>
2017-Jan-18 22:11:23.772824 CHECKPOINT PASSED FOR HEIGHT 220000 <9613f455933c00e3e33ac315cc6b455ee8aa0c567163836858c2d9caff111553>
2017-Jan-18 22:11:23.773145 CHECKPOINT PASSED FOR HEIGHT 230300
2017-Jan-18 22:11:23.773442 CHECKPOINT PASSED FOR HEIGHT 230700 <93e631240ceac831da1aebfc5dac8f722c430463024763ebafa888796ceaeedf>
2017-Jan-18 22:11:23.775137 CHECKPOINT PASSED FOR HEIGHT 231350
2017-Jan-18 22:11:23.775434 CHECKPOINT PASSED FOR HEIGHT 232150 <955de8e6b6508af2c24f7334f97beeea651d78e9ade3ab18fec3763be3201aa8>
2017-Jan-18 22:11:23.775718 CHECKPOINT PASSED FOR HEIGHT 249380 <654fb0a81ce3e5caf7e3264a70f447d4bd07586c08fa50f6638cc54da0a52b2d>
2017-Jan-18 22:11:23.776186 CHECKPOINT PASSED FOR HEIGHT 460000 <75037a7aed3e765db96c75bcf908f59d690a5f3390baebb9edeafd336a1c4831>
2017-Jan-18 22:11:23.776681 CHECKPOINT PASSED FOR HEIGHT 500000 <2428f0dbe49796be05ed81b347f53e1f7f44aed0abf641446ec2b94cae066b02>
2017-Jan-18 22:11:23.777159 CHECKPOINT PASSED FOR HEIGHT 600000
2017-Jan-18 22:11:23.777620 CHECKPOINT PASSED FOR HEIGHT 700000 <12be9b3d210b93f574d2526abb9c1ab2a881b479131fd0d4f7dac93875f503cd>
2017-Jan-18 22:11:23.778220 CHECKPOINT PASSED FOR HEIGHT 825000 <56503f9ad766774b575be3aff73245e9d159be88132c93d1754764f28da2ff60>
2017-Jan-18 22:11:23.778584 CHECKPOINT PASSED FOR HEIGHT 900000
2017-Jan-18 22:11:23.778917 CHECKPOINT PASSED FOR HEIGHT 913193 <5292d5d56f6ba4de33a58d9a34d263e2cb3c6fee0aed2286fd4ac7f36d53c85f>
2017-Jan-18 22:11:23.779356 CHECKPOINT PASSED FOR HEIGHT 1000000
2017-Jan-18 22:11:23.779795 CHECKPOINT PASSED FOR HEIGHT 1100000 <3fd720c5c8b3072fc1ccda922dec1ef25f9ed88a1e6ad4103d0fe00b180a5903>
2017-Jan-18 22:11:23.780142 CHECKPOINT PASSED FOR HEIGHT 1150000 <1dd16f626d18e1e988490dfd06de5920e22629c972c58b4d8daddea0038627b2>
2017-Jan-18 22:11:23.780459 CHECKPOINT PASSED FOR HEIGHT 1200000
2017-Jan-18 22:11:23.780520 Core initialized OK
2017-Jan-18 22:11:23.780588 Starting core rpc server...
2017-Jan-18 22:11:23.780666 Run net_service loop( 2 threads)...
2017-Jan-18 22:11:23.780934 [SRV_MAIN]Core rpc server started ok
2017-Jan-18 22:11:23.781293 [SRV_MAIN]Starting p2p net loop...
2017-Jan-18 22:11:23.781401 [SRV_MAIN]Run net_service loop( 10 threads)...
2017-Jan-18 22:11:24.781437 [P2P0]STARTED PEERLIST IDLE HANDSHAKE
2017-Jan-18 22:11:24.781613 [P2P0]FINISHED PEERLIST IDLE HANDSHAKE
2017-Jan-18 22:11:24.781691 [P2P0]Connecting to 5.9.100.248:18080(white=1, last_seen: never)...
2017-Jan-18 22:11:24.781853 [P2P0]connections_ size now 1
2017-Jan-18 22:11:24.781437 [P2P1]
**********************************************************************
The daemon will start synchronizing with the network. It may take up to several hours.Similarly, for windows the ERROR lines relate to a msys64 path. The windows binaries are downloaded from the github release tag, installed in C:\Program Files\Monero. I might be able to capture this at a future date if needed.
EDIT:
Windows console output:
"C:\Program Files\Monero\monerod.exe" --data-dir C:\Blockchain\XMR
Creating the logger system
2017-Jan-18 22:51:06.974618 Initializing cryptonote protocol...
2017-Jan-18 22:51:06.981124 Cryptonote protocol initialized OK
2017-Jan-18 22:51:06.982124 Initializing p2p server...
2017-Jan-18 22:51:27.334971 Set limit-up to 2048 kB/s
2017-Jan-18 22:51:27.335471 Set limit-down to 8192 kB/s
2017-Jan-18 22:51:27.335471 Set limit-up to 2048 kB/s
2017-Jan-18 22:51:27.335471 Set limit-down to 8192 kB/s
2017-Jan-18 22:51:27.340475 ERROR C:/msys64/DISTRIBUTION-BUILD/src/p2p/net_node.inl:145 Failed to load p2p config file, falling back to default config
2017-Jan-18 22:51:27.340976 Binding on 0.0.0.0:18080
2017-Jan-18 22:51:27.341477 Net service bound to 0.0.0.0:18080
2017-Jan-18 22:51:27.341477 Attempting to add IGD port mapping.
2017-Jan-18 22:51:36.455640 Added IGD port mapping.
2017-Jan-18 22:51:36.455640 P2p server initialized OK
2017-Jan-18 22:51:36.456141 Initializing core rpc server...
2017-Jan-18 22:51:36.456141 Binding on 127.0.0.1:18081
2017-Jan-18 22:51:36.456641 Core rpc server initialized OK on port: 18081
2017-Jan-18 22:51:36.456641 Initializing core...
2017-Jan-18 22:51:36.464649 ERROR C:/msys64/DISTRIBUTION-BUILD/src/common/boost_serialization_helper.h:108 Exception at [unserialize_obj_from_file], what=incompatible native format - size of long
2017-Jan-18 22:51:36.465150 ERROR C:/msys64/DISTRIBUTION-BUILD/src/cryptonote_core/tx_pool.cpp:695 Failed to load memory pool from file C:\Blockchain\XMR/poolstate.bin
2017-Jan-18 22:51:36.465650 Loading blockchain from folder C:\Blockchain\XMR\lmdb ...
2017-Jan-18 22:51:36.466150 option: fast
2017-Jan-18 22:51:36.466150 option: async
2017-Jan-18 22:51:36.466150 option: 1000
2017-Jan-18 22:51:37.045200 Blockchain initialized. last block: 1226774, d0.h0.m18.s30 time ago, current difficulty: 6300089572