I wanted to run UTXOracle on my start9 node. Check it out!
Hi, thank you for sharing this. Does it work properly as expected? Do you have screenshots or a walkthrough you can share?
The v8 branch works as expected, see the Readme for usage.
The main branch uses v9 and works except you have to pull the generated html file back to your local machine. Thinking about turning this into a package.
That would be great, please do take note that the packaging steps have changed for what will be happening in v040 an those docs will be made available.
Looking forward to seeing this one in the Community Registry sometime in the future.
I’m definitely interested in running this. Are you going to create an s9pk?
Sounds like there will be new instructions for creating packages soon. I’ll give it a shot when that happens.
Cool, hope I can get this working…
As shown below, I get
Error: Reached end of blk files without finding all target blocks
.
Any idea what’s wrong?
start9@adj-noun:~/utxoracle$ python3 podUTXOracle.py
UTXOracle version 9.0
Current operation Total Completion
Connecting to node... 5% done
Finding all blocks on May 17, 2025
0%..20%..40%..60%..80%..100% 25% done
Determining the correct order of blocks
0%..20%..40%..60%..80%..100% 50% done
Maping block locations in raw block files
0%..20%..40%..60%..80%..Error: Reached end of blk files without finding all target blocks.
start9@adj-noun:~/utxoracle$
BTW,
FYI, when I did
curl -O https://github.com/citizenanalog/podUTXOracle/blob/main/podUTXOracle.py
,
it saved as .html
. I had to do
curl -O https://raw.githubusercontent.com/citizenanalog/podUTXOracle/refs/heads/main/podUTXOracle.py
Forgot to mention, I’m running Bitcoin Knots 28.1.0~2 on StartOS 0.3.5~1.
Looks like you hit this condition:
if len(found_blocks) != len(block_hashes_needed):
print(“Error: Reached end of blk files without finding all target blocks.”)
Try: sudo podman exec -it bitcoind.embassy bitcoin-cli getblockchaininfo
also running Knots 28.1.0~2
~$ sudo podman exec -it bitcoind.embassy bitcoin-cli getblockchaininfo
{
"chain": "main",
"blocks": 897706,
"headers": 897706,
"bestblockhash": "00000000000000000000bf8e6604d9155c835881db8f7644db5fee2ac1eeca78",
"difficulty": 121658450774825,
"time": 1747837528,
"mediantime": 1747835793,
"verificationprogress": 0.9999960917276819,
"initialblockdownload": false,
"chainwork": "0000000000000000000000000000000000000000c4cc08c35e6cd4110f974a39",
"size_on_disk": 751627486398,
"pruned": false,
"warnings": ""
}
…progress…
Were you able to reproduce the issue I showed? And you’re making progress on fixing it?
If not, I’m confused.
I decided running the script with ssh is a bit silly and almost done with the proper .s9pk package.
Anyone give it a shot yet? 0.9.4 is pretty polished. Waiting to hear back on the registry submission.
It runs pretty quick on my intel i5 (~20 sec) and a bit slower on an 8GB CM4 Pi (~1:30).