0.16 wallet and bounty news??

Post Reply
IGJ
Posts: 46
Joined: 21 Aug 2018, 11:43

Re: 0.16 wallet and bounty news??

Post by IGJ » 08 Oct 2018, 13:51

Ok, here is my test:

Fresh install of debian sid (unstable)

mymachine:~# ssh -X root@test

root@test:~# cat /etc/debian_version
buster/sid

root@test:~# apt-get install git autoconf
root@test:~# apt-get install build-essential libboost-all-dev libssl-dev libdb++-dev libevent-dev
root@test:~# apt-get install libqt4-dev libprotobuf-dev protobuf-compiler pkg-config

root@test:~# git clone https://github.com/riecointeam/riecoin
root@test:~# cd riecoin
root@test:~/riecoin# wget http://download.riecoin-community.com/1 ... 1.patch.gz
root@test:~/riecoin# gzip -d riecoind_16.3_openssl_1.1.patch.gz
root@test:~/riecoin# git apply riecoind_16.3_openssl_1.1.patch

root@test:~/riecoin# openssl version
OpenSSL 1.1.1 11 Sep 2018

root@test:~/riecoin# ./autogen.sh
root@test:~/riecoin# ./configure --disable-tests --with-incompatible-bdb --with-gui
root@test:~/riecoin# make -j4
(there are some warnings from compiler about comparasion between signed and unsigned , will work on them in separate patch)

root@test:~/riecoin# ldd src/qt/riecoin-qt
linux-vdso.so.1 (0x00007ffe3ddbb000)
libboost_system.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.62.0 (0x00007f139c36e000)
libboost_filesystem.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.62.0 (0x00007f139c352000)
libboost_program_options.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.62.0 (0x00007f139c2cc000)
libboost_thread.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.62.0 (0x00007f139c2a0000)
libboost_chrono.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.62.0 (0x00007f139c29a000)
libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x00007f139b5ba000)
libQtNetwork.so.4 => /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4 (0x00007f139b26a000)
libQtDBus.so.4 => /usr/lib/x86_64-linux-gnu/libQtDBus.so.4 (0x00007f139afe8000)
libQtXml.so.4 => /usr/lib/x86_64-linux-gnu/libQtXml.so.4 (0x00007f139ada0000)
libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x00007f139a8b1000)
libprotobuf.so.10 => /usr/lib/x86_64-linux-gnu/libprotobuf.so.10 (0x0000:7f139a622000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f139a601000)
libdb_cxx-5.3.so => /usr/lib/x86_64-linux-gnu/libdb_cxx-5.3.so (0x00007f139a41b000)
--->>> libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f139a38a000)
--->>> libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f139a0a3000)
libevent_pthreads-2.1.so.6 => /usr/lib/x86_64-linux-gnu/libevent_pthreads-2.1.so.6 (0x00007f1399ea0000)
libevent-2.1.so.6 => /usr/lib/x86_64-linux-gnu/libevent-2.1.so.6 (0x00007f1399c4a000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1399ac7000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1399931000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1399917000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f139975a000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1399750000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f139970a000)
libaudio.so.2 => /usr/lib/x86_64-linux-gnu/libaudio.so.2 (0x00007f13994ee000)
libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f13993d1000)
libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f139939c000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f139917e000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f1398ec9000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f1398e75000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f1398c6b000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f1398a4e000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f1398844000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f1398632000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f13984f1000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f139849e000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1398497000)
/lib64/ld-linux-x86-64.so.2 (0x00007f139cf3f000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f139845a000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f1398451000)
libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007f13981e8000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f1397fe4000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f1397f6e000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f1397d65000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f1397b4e000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f1397b24000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f1397a98000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f1397890000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f139766a000)
liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f139744d000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f1397131000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f139710f000)

root@test:~/riecoin# mkdir ~/.riecoin16
root@test:~/riecoin# echo "addnode=nodes.riecoin-community.com" > ~/.riecoin16/riecoin.conf
root@test:~/riecoin# ./src/qt/riecoin-qt

I see on my desktop the wallet and syncing headers % growing and think all is working. Not waiting to finish headers sync and close the window.

--------------------------------------
root@test:~/riecoin# apt-get install libssl1.0-dev
root@test:~/riecoin# make clean
root@test:~/riecoin# ./configure --disable-tests --with-incompatible-bdb --with-gui
root@test:~/riecoin# make -j4
root@test:~/riecoin# ldd src/qt/riecoin-qt
linux-vdso.so.1 (0x00007ffc3567e000)
libboost_system.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.62.0 (0x00007fae22634000)
libboost_filesystem.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.62.0 (0x00007fae22618000)
libboost_program_options.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.62.0 (0x00007fae22592000)
libboost_thread.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.62.0 (0x00007fae22566000)
libboost_chrono.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.62.0 (0x00007fae22560000)
libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x00007fae21880000)
libQtNetwork.so.4 => /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4 (0x00007fae21530000)
libQtDBus.so.4 => /usr/lib/x86_64-linux-gnu/libQtDBus.so.4 (0x00007fae212ae000)
libQtXml.so.4 => /usr/lib/x86_64-linux-gnu/libQtXml.so.4 (0x00007fae21066000)
libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x00007fae20b77000)
libprotobuf.so.10 => /usr/lib/x86_64-linux-gnu/libprotobuf.so.10 (0x00007fae208e8000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fae208c7000)
libdb_cxx-5.3.so => /usr/lib/x86_64-linux-gnu/libdb_cxx-5.3.so (0x00007fae206e1000)
--->>> libssl.so.1.0.2 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2 (0x00007fae20479000)
--->>> libcrypto.so.1.0.2 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.2 (0x00007fae20017000)
libevent_pthreads-2.1.so.6 => /usr/lib/x86_64-linux-gnu/libevent_pthreads-2.1.so.6 (0x00007fae1fe14000)
libevent-2.1.so.6 => /usr/lib/x86_64-linux-gnu/libevent-2.1.so.6 (0x00007fae1fbbe000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fae1fa3b000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fae1f8a5000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fae1f88b000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fae1f6ce000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fae1f6c4000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fae1f67e000)
libaudio.so.2 => /usr/lib/x86_64-linux-gnu/libaudio.so.2 (0x00007fae1f462000)
libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fae1f345000)
libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007fae1f310000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fae1f0f2000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fae1ee3d000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007fae1ede9000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007fae1ebdf000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007fae1e9c2000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fae1e7b8000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fae1e5a6000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fae1e465000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007fae1e412000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fae1e40b000)
/lib64/ld-linux-x86-64.so.2 (0x00007fae23203000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fae1e3ce000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fae1e3c5000)
libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007fae1e15c000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fae1df58000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fae1dee2000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007fae1dcd9000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fae1dac2000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fae1da98000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007fae1da0c000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fae1d804000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fae1d5de000)
liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fae1d3c1000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007fae1d0a5000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007fae1d083000)

root@test:~/riecoin# ./src/qt/riecoin-qt

I see on my desktop the wallet and syncing headers % growing so I assume it is working again.
I think all is working.

I will leave the wallet 16.3 with libssl 1.1.1 during the night to do full sync but dont see reasons it will not work. I guess the things will be same on current stable debian release (debian 9 - stretch). Will be useful if izknv can make test on ubuntu too.
Last edited by IGJ on 16 Oct 2018, 12:40, edited 4 times in total.

Pttn
Posts: 143
Joined: 24 Aug 2018, 13:37

Re: 0.16 wallet and bounty news??

Post by Pttn » 08 Oct 2018, 15:28

It now seems works with LibSsl 1.0 in Debian 9 Sid, but it still does nothing at start in my Debian 9 Sid + LibSsl 1.1. Not sure how you were able to get it working...

Do you think that you could set up a 0.16.3 node? I don't know if you read my post in BitcoinTalk about transactions not broadcasting, I would like to know if I can broadcast them to a 0.16.3 node.
rieMiner - Riecoin solo + pooled miner
Personal Riecoin page (links, download,...)
freebitco.in - earn up to $200 in BTC each hour!

IGJ
Posts: 46
Joined: 21 Aug 2018, 11:43

Re: 0.16 wallet and bounty news??

Post by IGJ » 08 Oct 2018, 16:40

Yes I will setup one node 16.3. It is syncing now but will take time (if my patience over I will push the block chain and will speed it up)

Posted all commands I used during the test. The debian on which I tested someday will become debian 11 because now it is sid - unstable. What do you mean with debian 9 - sid ? Debian 9 is current stable release with code name stretch (always debian sid == debian unstable). If you mean that long time ago you installed debian 9 when it was still sid - unstable and never upgrade it since then, It could be the reason, because a lot of libraries maybe changed and a lot of bugs are fixed since then (sid repository is updating every 6 hours I think). Do "ldd file_binary" and it will show all libs that the shared binary needs and compare with what I posted to see if there are difference. Also can do strace -f or debug with valgrind or gdb they will show eventually where it stuck during code execution. Keep in mind that if during compilation are used old header files (.h) and in linking newer library (.so/.a) unpredicted behavior will happen.

I successfully compiled 16.3 with the patch on debian 9 updated to max - debian 9.5 with libssl 1.1 and all working.

Pttn
Posts: 143
Joined: 24 Aug 2018, 13:37

Re: 0.16 wallet and bounty news??

Post by Pttn » 08 Oct 2018, 16:59

It was a normal Debian 9, then I added sid repositories in the sources.list. Now I realize with "cat /etc/issue" that I am actually running "buster/sid"... I never realized that until now and thought that I was just running Debian 9 + more recent packages, hence the expression "Debian 9 Sid"... It never came to my mind that it actually upgraded the whole system...
But then, I should also have the latest packages and not have any issue to compile if you can...
rieMiner - Riecoin solo + pooled miner
Personal Riecoin page (links, download,...)
freebitco.in - earn up to $200 in BTC each hour!

IGJ
Posts: 46
Joined: 21 Aug 2018, 11:43

Re: 0.16 wallet and bounty news??

Post by IGJ » 08 Oct 2018, 17:32

If your machine is for production environment that is bad really bad.
If you don't have any valuable information or softwares on it I strongly recommend you to reinstall it with debian 9 - stretch. Current sid will have huge numbers of updates during next few years and you will have to update almost every day and swearing because things will stop work when you dont expect it :). Maybe around 2020 or 2021 it will become stable. Downgrading not always possible to be done easily some config files maybe was changed and some parts from newer packages may still be living on your hard drive, so to not mess your future software installations or code you may write or project you would like to build better reinstall on clean.
Ten years ago made such mistake on one production server and was pain in the a*s to servicing it, good it was from stable to testing only (from deb4 to deb5) and only after 1 year it become stable but config checks and test everything proper work after each update is time eating.

My patience is over and pushed the BC to 16.3 node, so it is synced now. Its IP address is 78.83.27.28 . What do you need for your test ?

Pttn
Posts: 143
Joined: 24 Aug 2018, 13:37

Re: 0.16 wallet and bounty news??

Post by Pttn » 08 Oct 2018, 18:54

This machine is more meant for fun activities, I have the other one with Debian 9 Stable for more serious things.

So what I wanted to do is to see if I could broadcast a transaction to a 0.16.3 node, as I cannot broadcast anything currently. I thought at start that there might be a compatibility problem with other nodes, with version 0.10.2. But even with your 0.16.3 node, this does still not work. I should get the text "broadcast though 1 node" when opening the transactions details, but this is not the case. So, my transactions are stuck, until I mine them or double spend with another wallet.

Did you try to send a transaction via Riecoin 0.16.3? Am I the only one that cannot broadcast anything?
rieMiner - Riecoin solo + pooled miner
Personal Riecoin page (links, download,...)
freebitco.in - earn up to $200 in BTC each hour!

IGJ
Posts: 46
Joined: 21 Aug 2018, 11:43

Re: 0.16 wallet and bounty news??

Post by IGJ » 08 Oct 2018, 22:33

Pttn wrote:
08 Oct 2018, 18:54
Did you try to send a transaction via Riecoin 0.16.3? Am I the only one that cannot broadcast anything?
I can receive and send coins from the wallet 16.3 compiled with libssl 1.1 with my patch on debian sid. Receiving goes as normal, I have a feel sending is little slower and there could be a problem with tx broadcasting or the fee is too low and not all miners accept it. I will do more tests and will tell you but for now seems to work.

here are the binaries if you want to try them:
http://download.riecoin-community.com/1 ... bin.tar.gz

Pttn
Posts: 143
Joined: 24 Aug 2018, 13:37

Re: 0.16 wallet and bounty news??

Post by Pttn » 09 Oct 2018, 07:39

Weird...
It was compiled a while ago, without your patch, in Debian 9 Stable, I do not even remember which LibSsl version I used.
If you say so, I might just have to recompile... I will try later.
rieMiner - Riecoin solo + pooled miner
Personal Riecoin page (links, download,...)
freebitco.in - earn up to $200 in BTC each hour!

IGJ
Posts: 46
Joined: 21 Aug 2018, 11:43

Re: 0.16 wallet and bounty news??

Post by IGJ » 09 Oct 2018, 09:42

There is some kind of problem with sending transactions in 16.3 !

My first transactions went, but as I told before had a feel it was slowly. Second transaction Is still not confirmed (after 9 hours) and I see messages in the log, that wallet trying to broadcast it:
2018-10-09 08:56:31 ResendWalletTransactions: rebroadcast 1 unconfirmed transactions
Now I am trying to understand how first one went. During the time it was unconfirmed I play a lot with these cli commands listtransactions, gettransaction, decoderawtransaction and maybe some more. Decoded transactions from 10.2 on 16.3 and vice versa and tried to see if there will be some differences.

Pttn
Posts: 143
Joined: 24 Aug 2018, 13:37

Re: 0.16 wallet and bounty news??

Post by Pttn » 09 Oct 2018, 09:55

Was your transaction confirmed in 966239? I mined my own 0.16.3 transaction here, but there is a second one, and it might be yours.

Is your stuck transaction ID 562821b32337ee7bc2a8318f2c6a331664f0f10a7ddaa096205f260a4573f585 ? I see that in my 0.16.3, but not 0.10.2. You might have successfully broadcast it to me, but not to all others 0.10.2 nodes. If I find another block, it will be confirmed. This explains why your first transaction was confirmed.

So after all, transactions broadcasting might work between 0.16.3 nodes, but there seems to be an incompatibility with the 0.10.2 ones.
In this case, I think that you have the same issue as me.

As an experiment, I will try to send something to a MultiSig "T" address (equivalent to "3" Bitcoin addresses) and see if I can confirm it. Do you see the transaction 0db9d7dc617c85f4150831253e020dfc692c91c9e28c4b1a2141209f1c1348a4 when you do GetBlockTemplate?
rieMiner - Riecoin solo + pooled miner
Personal Riecoin page (links, download,...)
freebitco.in - earn up to $200 in BTC each hour!

Post Reply