Node running but wallet remains to 0 XMR

Hello,

I have followed the information to install the whole system on an  Ubuntu 20.04 test rig as documented in the README.md. Everything is running for a few days and seems working ok, however, the wallet balance remains to 0.00000....

I am using the wallet-cli provided in the monerod 'Oxygen Orion' (v0.17.2.3-9c82593b5) package and created a new primary  "41iVXmvSC..." key for this purpose

Monerod is synchronised, however I have some network errors : 
2021-09-12 10:25:04.358	[P2P6]	ERROR	net	contrib/epee/include/net/abstract_tcp_server2.inl:777	Setting timer on a shut down object
2021-09-12 10:25:04.829	[P2P3]	WARNING	net.p2p	src/p2p/net_node.inl:2408	[162.218.65.99:18081 OUT] Failed to invoke COMMAND_PING to 162.218.65.99:18081(-3, LEVIN_ERROR_CONNECTION_DESTROYED)
2021-09-12 10:25:07.115	[P2P3]	WARNING	net.p2p	src/p2p/net_node.inl:2408	[162.218.65.101:18081 OUT] Failed to invoke COMMAND_PING to 162.218.65.101:18081(-3, LEVIN_ERROR_CONNECTION_DESTROYED)
2021-09-12 10:25:09.340	[P2P5]	WARNING	net.p2p	src/p2p/net_node.inl:2408	[162.218.65.102:18080 OUT] Failed to invoke COMMAND_PING to 162.218.65.102:18080(-3, LEVIN_ERROR_CONNECTION_DESTROYED)
2021-09-12 10:25:09.921	[P2P6]	ERROR	net	contrib/epee/include/net/abstract_tcp_server2.inl:777	Setting timer on a shut down object
2021-09-12 10:25:11.392	[P2P2]	WARNING	net.p2p	src/p2p/net_node.inl:2408	[162.218.65.103:18081 OUT] Failed to invoke COMMAND_PING to 162.218.65.103:18081(-3, LEVIN_ERROR_CONNECTION_DESTROYED)
2021-09-12 10:25:11.678	[P2P9]	WARNING	net.p2p	src/p2p/net_node.inl:2408	[180.149.231.92:18080 OUT] Failed to invoke COMMAND_PING to 180.149.231.92:18080(-3, LEVIN_ERROR_CONNECTION_DESTROYED)


monerod.log head : 
head -n100 ~/.bitmonero/bitmonero.log
2021-09-12 10:32:20.016	    7f7ba51477c0	INFO	logging	contrib/epee/src/mlog.cpp:273	New log categories: *:WARNING,net:FATAL,net.http:FATAL,net.ssl:FATAL,net.p2p:FATAL,net.cn:FATAL,daemon.rpc:FATAL,global:INFO,verify:FATAL,serialization:FATAL,daemon.rpc.payment:ERROR,stacktrace:INFO,logging:INFO,msgwriter:INFO
2021-09-12 10:32:20.020	    7f7ba51477c0	INFO	global	src/daemon/main.cpp:294	Monero 'Oxygen Orion' (v0.17.2.3-9c82593b5)
2021-09-12 10:32:20.020	    7f7ba51477c0	INFO	msgwriter	src/common/scoped_message_writer.h:102	Forking to background...
2021-09-12 10:32:20.021	    7f7ba51477c0	WARNING	daemon	src/daemon/executor.cpp:61	Monero 'Oxygen Orion' (v0.17.2.3-9c82593b5) Daemonised
2021-09-12 10:32:20.021	    7f7ba51477c0	INFO	global	src/daemon/protocol.h:53	Initializing cryptonote protocol...
2021-09-12 10:32:20.021	    7f7ba51477c0	INFO	global	src/daemon/protocol.h:58	Cryptonote protocol initialized OK
2021-09-12 10:32:20.022	    7f7ba51477c0	INFO	global	src/daemon/core.h:63	Initializing core...
2021-09-12 10:32:20.022	    7f7ba51477c0	INFO	global	src/cryptonote_core/cryptonote_core.cpp:515	Loading blockchain from folder /home/jef/.bitmonero/lmdb ...
2021-09-12 10:32:20.120	    7f7ba51477c0	INFO	global	src/cryptonote_core/cryptonote_core.cpp:690	Loading checkpoints
2021-09-12 10:32:20.120	    7f7ba51477c0	INFO	global	src/daemon/core.h:73	Core initialized OK
2021-09-12 10:32:20.120	    7f7ba51477c0	INFO	global	src/daemon/p2p.h:63	Initializing p2p server...
2021-09-12 10:32:20.130	    7f7ba51477c0	INFO	global	src/daemon/p2p.h:68	p2p server initialized OK
2021-09-12 10:32:20.130	    7f7ba51477c0	INFO	global	src/daemon/rpc.h:63	Initializing core RPC server...
2021-09-12 10:32:20.130	    7f7ba51477c0	INFO	global	contrib/epee/include/net/http_server_impl_base.h:79	Binding on 127.0.0.1 (IPv4):18081
2021-09-12 10:32:20.357	    7f7ba51477c0	INFO	global	src/daemon/rpc.h:69	core RPC server initialized OK on port: 18081
2021-09-12 10:32:20.358	    7f7ba51477c0	INFO	global	src/daemon/rpc.h:74	Starting core RPC server...
2021-09-12 10:32:20.358	[SRV_MAIN]	INFO	global	src/daemon/rpc.h:79	core RPC server started ok
2021-09-12 10:32:20.358	[SRV_MAIN]	INFO	global	src/daemon/p2p.h:78	Starting p2p net loop...
2021-09-12 10:32:21.358	[P2P1]	INFO	global	src/cryptonote_core/cryptonote_core.cpp:1732
2021-09-12 10:32:21.358	[P2P1]	INFO	global	src/cryptonote_core/cryptonote_core.cpp:1732	**********************************************************************
2021-09-12 10:32:21.358	[P2P1]	INFO	global	src/cryptonote_core/cryptonote_core.cpp:1732	The daemon will start synchronizing with the network. This may take a long time to complete.
2021-09-12 10:32:21.358	[P2P1]	INFO	global	src/cryptonote_core/cryptonote_core.cpp:1732
2021-09-12 10:32:21.358	[P2P1]	INFO	global	src/cryptonote_core/cryptonote_core.cpp:1732	You can set the level of process detailization through "set_log <level|categories>" command,
2021-09-12 10:32:21.358	[P2P1]	INFO	global	src/cryptonote_core/cryptonote_core.cpp:1732	where <level> is between 0 (no details) and 4 (very verbose), or custom category based levels (eg, *:WARNING).
2021-09-12 10:32:21.358	[P2P1]	INFO	global	src/cryptonote_core/cryptonote_core.cpp:1732
2021-09-12 10:32:21.358	[P2P1]	INFO	global	src/cryptonote_core/cryptonote_core.cpp:1732	Use the "help" command to see the list of available commands.
2021-09-12 10:32:21.358	[P2P1]	INFO	global	src/cryptonote_core/cryptonote_core.cpp:1732	Use "help <command>" to see a command's documentation.
2021-09-12 10:32:21.358	[P2P1]	INFO	global	src/cryptonote_core/cryptonote_core.cpp:1732	**********************************************************************
2021-09-12 10:32:21.448	[P2P4]	INFO	global	src/cryptonote_protocol/cryptonote_protocol_handler.inl:2460
2021-09-12 10:32:21.448	[P2P4]	INFO	global	src/cryptonote_protocol/cryptonote_protocol_handler.inl:2460	**********************************************************************
2021-09-12 10:32:21.448	[P2P4]	INFO	global	src/cryptonote_protocol/cryptonote_protocol_handler.inl:2460	You are now synchronized with the network. You may now start monero-wallet-cli.
2021-09-12 10:32:21.448	[P2P4]	INFO	global	src/cryptonote_protocol/cryptonote_protocol_handler.inl:2460
2021-09-12 10:32:21.448	[P2P4]	INFO	global	src/cryptonote_protocol/cryptonote_protocol_handler.inl:2460	Use the "help" command to see the list of available commands.
2021-09-12 10:32:21.448	[P2P4]	INFO	global	src/cryptonote_protocol/cryptonote_protocol_handler.inl:2460	**********************************************************************
2021-09-12 10:32:21.919	[P2P0]	INFO	stacktrace	src/common/stack_trace.cpp:133	Exception: boost::wrapexcept<boost::bad_weak_ptr>
2021-09-12 10:32:21.919	[P2P0]	INFO	stacktrace	src/common/stack_trace.cpp:134	Unwound call stack:
2021-09-12 10:32:21.930	[P2P0]	INFO	stacktrace	src/common/stack_trace.cpp:172	    [1]  0x117) [0x563bdc310fa7]:__wrap___cxa_throw+0x117) [0x563bdc310fa7]...


P2pool is launched in background with : 

screen -d -m -S p2poolnode bash -c 'cd ~/p2pool/build/ && ./p2pool --host 127.0.0.1 --wallet 41iVX....(my-primary-wllet-address)'

The only errors got on p2pool.log are some warnings like below :  

> WARNING 2021-09-12 02:53:47.2001 SideChain add_external_block: block is built on top of an unknown mainchain block 649e0d3930fcb46acd08721e26702611464835b1cce9608417ee8db3087d4c50, mainchain reorg might've happened
WARNING 2021-09-12 03:54:17.1445 SideChain add_external_block: block is built on top of an unknown mainchain block eb0b2c9d24dd2c39660385b6d5d39f63055ca9ee5c6c534e190254e8a50f8379, mainchain reorg might've happened

in addition of a few banned nodes.

XMrig gets the jobs.

p2pool.log head : 

NOTICE  2021-09-12 09:52:43.4110 Log started
NOTICE  2021-09-12 09:52:43.4120 SideChain network type  = mainnet
NOTICE  2021-09-12 09:52:43.4120 SideChain using default config
NOTICE  2021-09-12 09:52:43.4120 SideChain pool name     = mainnet test 2
NOTICE  2021-09-12 09:52:43.4120 SideChain block time    = 10 seconds
NOTICE  2021-09-12 09:52:43.4120 SideChain min diff      = 100000
NOTICE  2021-09-12 09:52:43.4120 SideChain PPLNS window  = 2160 blocks
NOTICE  2021-09-12 09:52:43.4120 SideChain uncle penalty = 20%
NOTICE  2021-09-12 09:52:43.4120 SideChain generating consensus ID
NOTICE  2021-09-12 09:52:44.2123 SideChain consensus ID = 22af7ee7************************************************4407f918
NOTICE  2021-09-12 09:52:44.3455 RandomX_Hasher allocated 2592 MB
NOTICE  2021-09-12 09:52:44.3458 ConsoleCommands started
NOTICE  2021-09-12 09:52:44.3465 ZMQReader worker thread ready
NOTICE  2021-09-12 09:52:44.3638 P2Pool new miner data
---------------------------------------------------------------------------------------------------------------
major_version           = 14
height                  = 2447695
prev_id                 = 061978a46c430ace2be355fb84a6000402083ed61bf5e9684c6f722c2c0a57e7
seed_hash               = f4f2e6e0dee85a9e212c5decf4c8f0b656a9fd6d175a64de43920a108603a526
difficulty              = 339905258163
median_weight           = 300000
already_generated_coins = 17991377793683898561
transactions            = 22
---------------------------------------------------------------------------------------------------------------
NOTICE  2021-09-12 09:52:44.3638 BlockTemplate base  reward = 0.868542251635 XMR, mempool: 22 transactions, fees = 0.000400060000 XMR, weight = 38677
NOTICE  2021-09-12 09:52:44.3638 RandomX_Hasher new seed f4f2e6e0dee85a9e212c5decf4c8f0b656a9fd6d175a64de43920a108603a526
NOTICE  2021-09-12 09:52:44.3644 BlockTemplate final reward = 0.868942311635 XMR, weight = 38803, outputs = 1, 22 of 22 transactions included
NOTICE  2021-09-12 09:52:44.3647 P2Pool parsed block header for height 2447360
NOTICE  2021-09-12 09:52:44.3648 P2Pool parsed block header for height 2445312
NOTICE  2021-09-12 09:52:44.3648 RandomX_Hasher old seed ac962271f046b247084d26db52a7f0378ddf6879a55e704930a3aff8772e72a3
NOTICE  2021-09-12 09:52:44.7970 RandomX_Hasher cache updated
NOTICE  2021-09-12 09:52:44.7970 RandomX_Hasher running 6 threads to update dataset
NOTICE  2021-09-12 09:52:45.2315 RandomX_Hasher old cache updated
NOTICE  2021-09-12 09:52:45.3124 P2Pool parsed 720 block headers for heights 2446975 - 2447694
NOTICE  2021-09-12 09:52:45.3124 P2Pool median timestamp updated to 1631437083
NOTICE  2021-09-12 09:52:45.3126 StratumServer listening on [::]:3333
NOTICE  2021-09-12 09:52:45.3127 StratumServer listening on 0.0.0.0:3333
NOTICE  2021-09-12 09:52:45.3127 StratumServer event loop started
NOTICE  2021-09-12 09:52:45.3143 BlockCache loading cached blocks
NOTICE  2021-09-12 09:52:47.0449 BlockCache loaded 4608 cached blocks
NOTICE  2021-09-12 09:52:47.0449 P2PServer loading peers from seeds.p2pool.io
NOTICE  2021-09-12 09:52:47.2861 P2PServer added 13.69.194.86:37889 from seeds.p2pool.io
NOTICE  2021-09-12 09:52:47.2861 P2PServer added 65.21.227.114:37889 from seeds.p2pool.io
NOTICE  2021-09-12 09:52:47.2861 P2PServer added 168.119.137.28:37889 from seeds.p2pool.io
NOTICE  2021-09-12 09:52:47.2863 P2PServer peer list loaded (105 peers)
NOTICE  2021-09-12 09:52:47.2863 P2PServer listening on [::]:37889
NOTICE  2021-09-12 09:52:47.2863 P2PServer listening on 0.0.0.0:37889
NOTICE  2021-09-12 09:52:47.2864 P2PServer event loop started
NOTICE  2021-09-12 09:52:47.5155 SideChain add_external_block: height = 102776, id = 572db0e40c0c84c1e00c0a53fae97cd77ccd4d005c9cbfea09d513e8580ff017, mainchain height = 2447695
NOTICE  2021-09-12 09:52:47.5600 SideChain add_block: height = 102776, id = 572db0e40c0c84c1e00c0a53fae97cd77ccd4d005c9cbfea09d513e8580ff017, mainchain height = 2447695, verified = 0
...

I understand that this rig is probably solo mining. Any clue to investigate further ?

Thanks for this great project and for your help.

Best regards, 

