Closed shixiaofeia closed 4 years ago
I still have a question, how to calculate the size of the transaction data, because I want to use the estimatesmartfee method to calculate the miner's fee, Or there are other better ways, look forward to your answer
Hello, the problem in your first post is you are not passing your dash.conf file to Docker in step 3, so it is auto-generating a dash.conf file for you instead of using your file. Try to start it like this instead:
docker run \
-v dashd-data:/dash/data \
-v "$(pwd)"/dash.conf:/dash/.dashcore/dash.conf \
--name=dashd-test -d \
-p 19999:19999 \
-p 127.0.0.1:19998:19998 \
dashpay/dashd dashd -conf=/dash/.dashcore/dash.conf -datadir=/dash/data
The estimatesmartfee
RPC should work fine once dashd is fully synced.
Hello, the problem in your first post is you are not passing your dash.conf file to Docker in step 3, so it is auto-generating a dash.conf file for you instead of using your file. Try to start it like this instead:
docker run \ -v dashd-data:/dash/data \ -v "$(pwd)"/dash.conf:/dash/.dashcore/dash.conf \ --name=dashd-test -d \ -p 19999:19999 \ -p 127.0.0.1:19998:19998 \ dashpay/dashd dashd -conf=/dash/.dashcore/dash.conf -datadir=/dash/data
The
estimatesmartfee
RPC should work fine once dashd is fully synced.
I generated the .dashcore and dash.conf files in advance, and then mount them to docker startup, but it does occasionally happen that the connection is refused, etc. thank you for your reply
This issue tracker is only for technical issues related to Dash Core.
General Dash questions and/or support requests and are best directed to the Dashpay Reddit.
To report critical security issues, email infosec@dash.org and/or see the DASH bug bounty program on Bugcrowd instead of creating Github issues.
Describe the issue
My test node built with docker reported an error
Can you reliably reproduce the issue?
If so, please list the steps to reproduce below: