Search content
Sort by

Showing 20 of 96 results by Jodmapht
Post
Topic
Board Development & Technical Discussion
Re: Testnet fee estimation not working and causing issues?
by
Jodmapht
on 25/03/2025, 12:57:37 UTC
Hmm, estimatesmartfee just started working without me changing anything...
Not surprising since it's been a while since you've experienced the issue, it's just given enough time to work.

If that happened again and you're in a hurry, you can try to set a "fallbackfee" so its value will be set instead if the estimate isn't available yet.
Set it to your bitcoin.conf file like: fallbackfee=0.0001
The value's unit is in "BTC/kB".

Ok thanks I will definitely add this to my configuration file!
Post
Topic
Board Development & Technical Discussion
Re: Testnet fee estimation not working and causing issues?
by
Jodmapht
on 25/03/2025, 12:56:38 UTC
Again getblockchaininfo returns me the same height as mempool.space, and estimatesmartfee returns "Insufficient data or no feerate found". I am using CLN to open a channel
Hmm, estimatesmartfee just started working without me changing anything...

Changed the settings back to the original ones I had, restarted bitcoind, and fee estimation still works. Not sure what happened?

I believe this answer on Bitcoin StackExchange mostly answer your question.

The fee estimator tries to estimate the fee the balances between cost and time to be included in a block. It does this by looking at the fee rates of transactions that it receives in its mempool and seeing how long it takes for transactions at a given fee rate to be included into a block. It becomes more accurate as it sees more transactions and more blocks because it has had more data to analyze.

Just wait. Leave the nodes online. The estimators require data and the only way to do that is to wait. They become more accurate over time.



Ok, it is strange that there was no fee estimation after bitcoind had been running for months, then no fee estimate for 24 hours after restarting, then now it works regardless of if I restart it or not. Was it due to a lack of txs in the testnet mempool?
Post
Topic
Board Development & Technical Discussion
Re: Testnet fee estimation not working and causing issues?
by
Jodmapht
on 25/03/2025, 02:15:29 UTC
Is not fully synced yet look at the blocks under "getblockchaininfo" and compared it to the current block height from https://mempool.space/testnet

The current block is 4075204 but yours is currently 4075162

I don't see any other reasons, but this current block height in your node seems to be the issue the node should be fully synced.

The weird part is "verificationprogress": 1 it indicates a fully synced.

If the normal transaction works just fine would you mind to add more info if what lightning software or wallet you use to open a channel? If the issue only comes up when opening a channel, then maybe the issue is only in your lightning software or wallet.

Again getblockchaininfo returns me the same height as mempool.space, and estimatesmartfee returns "Insufficient data or no feerate found". I am using CLN to open a channel

Hmm, estimatesmartfee just started working without me changing anything...
Post
Topic
Board Development & Technical Discussion
Re: Testnet fee estimation not working and causing issues?
by
Jodmapht
on 25/03/2025, 00:58:18 UTC
Is not fully synced yet look at the blocks under "getblockchaininfo" and compared it to the current block height from https://mempool.space/testnet

The current block is 4075204 but yours is currently 4075162

I don't see any other reasons, but this current block height in your node seems to be the issue the node should be fully synced.

The weird part is "verificationprogress": 1 it indicates a fully synced.

If the normal transaction works just fine would you mind to add more info if what lightning software or wallet you use to open a channel? If the issue only comes up when opening a channel, then maybe the issue is only in your lightning software or wallet.

Again getblockchaininfo returns me the same height as mempool.space, and estimatesmartfee returns "Insufficient data or no feerate found". I am using CLN to open a channel
Post
Topic
Board Development & Technical Discussion
Re: Testnet fee estimation not working and causing issues?
by
Jodmapht
on 25/03/2025, 00:12:15 UTC
Are you able to send tBTC on-chain? I mean normally send testnet coins, not by opening channels. Test it first and let's see if this is only by opening the channel or even on-chain doesn't work.

Sending a tx works just fine...
Post
Topic
Board Development & Technical Discussion
Re: Testnet fee estimation not working and causing issues?
by
Jodmapht
on 24/03/2025, 23:58:28 UTC
Yes it is fully synced. Before I rebooted it a couple of hours ago it had been running for months. And the blockheight matches mempool.space/testnet

Are you running a prune node? I suggest disable it if it is set to prune.

Are you able to send tBTC on-chain? I mean normally send testnet coins, not by opening channels. Test it first and let's see if this is only by opening the channel or even on-chain doesn't work.

What is your current node system specs? Are you in Ubuntu?

Can you try to edit the bitcoin.conf and add this "maxmempool=500" without qoutes or change it to 1000 then test make sure to restart bitcoind.
If you still having issue try adding this on the Bitcoin.conf file "mempoolexpiry=72" then restart it again and test.

No it is not a pruned node:


 ./bin/bitcoin-cli -testnet getblockchaininfo
{
  "chain": "test",
  "blocks": 4075162,
  "headers": 4075162,
  "bestblockhash": "000000000ff380e4ddabeaef62b63a23a29b57fe0c93257a2aaf5a6420c66ffd",
  "difficulty": 1,
  "time": 1742866878,
  "mediantime": 1742865677,
  "verificationprogress": 1,
  "initialblockdownload": false,
  "chainwork": "0000000000000000000000000000000000000000000016426f159b1301805f97",
  "size_on_disk": 189685877847,
  "pruned": false,
  "warnings": "Unknown new rules activated (versionbit 28)"
}


I am using FreeBSD on arm64. I am bitcoind running in another jail with mainnet and I don't have any issue. I had maxmempool set to 300, I just increased it to 1000 and set mempoolexpiry to 72:


2025-03-24T23:56:36Z * Using 37.2 MiB for transaction index database
2025-03-24T23:56:36Z * Using 32.6 MiB for basic block filter index database
2025-03-24T23:56:36Z * Using 8.0 MiB for chain state database
2025-03-24T23:56:36Z * Using 220.2 MiB for in-memory UTXO set (plus up to 953.7 MiB of unused mempool space)



./bin/bitcoin-cli -testnet estimatesmartfee 1 economical
{
  "errors": [
    "Insufficient data or no feerate found"
  ],
  "blocks": 2
}
Post
Topic
Board Development & Technical Discussion
Re: Testnet fee estimation not working and causing issues?
by
Jodmapht
on 24/03/2025, 23:24:16 UTC
Did you check your node if it's fully sync?
Better check the node first by using "bitcoin-cli getblockchaininfo" and compare the block with the current block height of 4,075,142

If the block info is below that height, it is not fully synced yet, and you need to wait for your node to be fully synced.

Yes it is fully synced. Before I rebooted it a couple of hours ago it had been running for months. And the blockheight matches mempool.space/testnet
Post
Topic
Board Development & Technical Discussion
Topic OP
Testnet fee estimation not working and causing issues?
by
Jodmapht
on 24/03/2025, 21:37:51 UTC
Hi,

I would like to do some lightning tests using testnet3 and I am unable to open a channel with a node because my testnet bitcoind is unable to estimate fees. I get a "Cannot estimate fees" error regardless of how long my node has been running for (i.e. multiple months or a few hours). Is this normal, and what is the way around this issue that people use?

Thanks!
Post
Topic
Board Hardware
Re: Avalon Nano3 FAQ
by
Jodmapht
on 26/10/2024, 01:26:31 UTC
I am not an expert with Wi-Fi, but to me it seems that any of the options "Time interval for rekeying GTK", "Disable Inactivity Polling", "Station inactivity limit", "Maximum allowed Listen Interval" or "Disassociate On Low Acknowledgement" could be related to the issue...
Post
Topic
Board Hardware
Re: Avalon Nano3 FAQ
by
Jodmapht
on 25/10/2024, 20:45:11 UTC
So far it seems I my miner has been online between one third and one half of the time, spending the remaining time indicating it is not connected on the Wi-Fi. I do not have any Wi-Fi issue with my other devices. Sometimes the miner recovers after 5 minutes. Other times it takes much longer... Do you experience a similar behavior? Wondering if there is any Wi-Fi router parameter or stratum server setting or pinging of the router that would help in preventing the issue from occurring until they Canaan fix their firmware?
Post
Topic
Board Hardware
Re: Avalon Nano3 FAQ
by
Jodmapht
on 25/10/2024, 05:28:28 UTC
I am trying to get my unit to work properly. I have it on an isolated LAN with no open Internet access and no DNS. It does connect to my stratum server and starts mining. However I see that it queries for 0.pool.ntp.org, 1.pool.ntp.org and 2.pool.ntp.org and after a maybe 30 mins mining it stop and all it does is querying for DHCP. So I have a few questions:

1) How can I change the ntp servers it is querying to a local IP?
2) Is it expected that it disconnects after a while if it can't reach NTP or DNS and that it keeps querying DHCP like it does?

Thanks!

Ok I redirected the Nano to my local NTP server through DNS and it now gets the time properly. However I am experiencing the same Wi-Fi issue as others. The miner works for a while, then somehow loses Wi-FI and is unable to recover most of the time without a reboot. Sometimes it does recover after a few minutes though? I tried moving it right next to my router as a test to see if it is more stable. I tried using a fixed channel as well...
Post
Topic
Board Hardware
Re: Avalon Nano3 FAQ
by
Jodmapht
on 25/10/2024, 04:39:49 UTC

Agree 100% with what was stated above all the tools and firmware versions really need to be placed in the support portal on the Canaan website...

Hello, pls check it out on our official website. https://www.canaan.io/supports/file_download
The one issued on Aug 6th is the latest version, kindly note.

Hi,

I do not see the firmware files for the Nano on the provided page. What am I missing?

Thanks!
Post
Topic
Board Hardware
Re: Avalon Nano3 FAQ
by
Jodmapht
on 25/10/2024, 03:04:55 UTC
I am trying to get my unit to work properly. I have it on an isolated LAN with no open Internet access and no DNS. It does connect to my stratum server and starts mining. However I see that it queries for 0.pool.ntp.org, 1.pool.ntp.org and 2.pool.ntp.org and after a maybe 30 mins mining it stop and all it does is querying for DHCP. So I have a few questions:

1) How can I change the ntp servers it is querying to a local IP?
2) Is it expected that it disconnects after a while if it can't reach NTP or DNS and that it keeps querying DHCP like it does?

Thanks!
Post
Topic
Board Bitcoin Technical Support
Re: Trying to understand the benefits of multisig tapscripts...
by
Jodmapht
on 29/08/2024, 18:46:23 UTC
Anyone knows about this? If my question does not make sense, please let me know!
Post
Topic
Board Bitcoin Technical Support
Topic OP
Trying to understand the benefits of multisig tapscripts...
by
Jodmapht
on 22/08/2024, 00:14:40 UTC
Hi,

Trying to educate myself about tapscripts, Schnorr signatures and taproot in general. My understanding is that taproot Merkle trees have the advantage of being able to reveal only the used path of the tree when signing a transaction. I am trying to understand if this can be leveraged at all for a k of n threshold scheme. For example, I would have expected that for a 2 of 3 with keys A, B and C, we would want to use 3 script paths:

- A and B
- B and C
- A and C

However, from what I have seen it seems that this is not how it is done, and even that using the same key more than once is not allowed, which would not even make it possible to do.

Am I understanding this properly? If so, why would a single script path be preferable for a threshold scheme? Finally, why isn't it allowed to reuse the same key within multiple script paths?

Thanks!
Post
Topic
Board Bitcoin Technical Support
Re: Empty output from listunspent with a trusted balance?
by
Jodmapht
on 30/05/2024, 22:23:35 UTC
I can't reproduce this in RegTest, Bitcoin Core v27.0

Steps done are: Create a descriptor wallet with default args -> receive BTC -> generate coins (using another wallet) it until it has 6 confirmations.
getbalances shows it under "trusted" balance.
listunspent command shows the UTXO.
It's working as intended.

The only way it happens at my end is when I purposely lock that specific unspent transaction output with lockunspent command.
Can you try listlockunspent?

Thanks!
It does shows up under listlockunspent. I did not use the command lockunspent directly myself though, but a tool I was using might have I guess... Will do more testing...
Post
Topic
Board Bitcoin Technical Support
Topic OP
Empty output from listunspent with a trusted balance?
by
Jodmapht
on 30/05/2024, 02:11:38 UTC
Hi,

So I have this descriptor core wallet I created with default options, then I obtained an address with getnewaddress. I transferred coins to the address and waited over 6 confirmations. I see a trusted balance in the wallet, I see the address as belonging to the wallet with getaddressinfo, but listunspent returns an empty list. What is going on? Thanks!

Code:
/bin/bitcoin-cli -datadir=./var_testnet -rpccookiefile=./testnet3/.cookie -conf=../etc/bitcoin_testnet.conf -rpcport=18332 -rpcwallet=send getbalances
{
  "mine": {
    "trusted": 0.008*****,
    "untrusted_pending": 0.00000000,
    "immature": 0.00000000
  },
  ...
}

Code:
./bin/bitcoin-cli -datadir=./var_testnet -rpccookiefile=./testnet3/.cookie -conf=../etc/bitcoin_testnet.conf -rpcport=18332 -rpcwallet=send getaddressinfo tb1******************************************  {
  "address": "tb1*****************************************",
  "scriptPubKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "ismine": true,
  "solvable": true,
  "desc": "wpkh([xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "parent_desc": "wpkh([xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/0/*)#xxxxxxxxxxxxxx",
  "iswatchonly": false,
  "isscript": false,
  "iswitness": true,
  "witness_version": 0,
  "witness_program": "fxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "pubkey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "ischange": false,
  "timestamp": 1716000000,
  "hdkeypath": "m/84h/1h/0h/0/0",
  "hdseedid": "0000000000000000000000000000000000000000",
  "hdmasterfingerprint": "37e012d6",
  "labels": [
    ""
  ]
}

Code:
./bin/bitcoin-cli -datadir=./var_testnet -rpccookiefile=./testnet3/.cookie -conf=../etc/bitcoin_testnet.conf -rpcport=18332 -rpcwallet=send listunspent 0
[
]
Post
Topic
Board Beginners & Help
Re: [Merit] [Faucet] Hey Bitcoiners! Wanna try out the lightning network?
by
Jodmapht
on 04/08/2023, 17:32:59 UTC
I'm currently on vacations. If you still want some, notify me next week.

Thanks. I think I have enough though with the two donations I received. Have fun!
Post
Topic
Board Beginners & Help
Re: [Merit] [Faucet] Hey Bitcoiners! Wanna try out the lightning network?
by
Jodmapht
on 04/08/2023, 17:31:25 UTC

Thank you! Do you want me to return it to the change address once I am done with it?
Post
Topic
Board Beginners & Help
Re: [Merit] [Faucet] Hey Bitcoiners! Wanna try out the lightning network?
by
Jodmapht
on 02/08/2023, 16:42:21 UTC
Thank you for whoever sent me some tsats, I can return them to the tx's change address when the test is over. I am not sure if it is quite enough for the channel test I want to do. Another 0.009 tBTC would be safer I think if possible. Thanks!