ElementsProject / confidential-assets-demo

Confidential Assets Demo built on the Elements blockchain platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo segfaults on Alpine Linux

haarts opened this issue · comments

I've been able to get to the part where I could run start_demo.sh. When 'fred' wants to issue its first asset the elementsd daemon segfaults.
The offending command is: elements-cli -datadir=demo/data/fred issueasset 1000000 500 (started the daemon with elementsd -datadir=demo/data/fred).

@haarts Thank you for your report.

Would you show us the debug.log and elements.conf of fred, commit ids of elements and confidential-asset-demo , and version of Alpine Linux that this this segmentatin-faults has occured.

Files are located:
demo/data/fred/elements.conf
demo/data/fred/elementsregtest/debug.log

Elementsd shows ver. /commit id with following command:
$ elementsd --version | head -1

The version of Elementsd is Elements Core Daemon version v2.14.1.1-e2c858008. (My apologies, I should have added this in the first place.)

Fred's elementsd.conf:

cat demo/data/fred/elements.conf 
rpcuser=user
rpcpassword=pass
rpcport=10040
port=10041

connect=localhost:10001
regtest=1
daemon=0
listen=1
txindex=1
keypool=10
initialfreecoins=2100000000000000
assetdir=:AIRSKY
assetdir=:MELON
assetdir=:MONECRE

The debug log is a bit large, I've made it a gist: https://gist.github.com/haarts/0b729d707a11e01b9c0aaac067b75405

The demo SHA is dc2f5e8