Bitcoin Forum
May 08, 2024, 03:12:45 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how to parse UTXO?  (Read 587 times)
~DefaultTrust (OP)
Copper Member
Sr. Member
****
Offline Offline

Activity: 1554
Merit: 489

Stop the war!


View Profile
June 15, 2020, 04:16:43 AM
 #1

How can I get all unspent transactions outputs from Bitcoin UTXO? It seems that Bitcoin Core have no RPC API for this task?
Is there an open source tool for parsing UTXO database?

Do not trust bitcointalk fascists: leonello; Snork1979; ivan1975
1715137965
Hero Member
*
Offline Offline

Posts: 1715137965

View Profile Personal Message (Offline)

Ignore
1715137965
Reply with quote  #2

1715137965
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715137965
Hero Member
*
Offline Offline

Posts: 1715137965

View Profile Personal Message (Offline)

Ignore
1715137965
Reply with quote  #2

1715137965
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
June 15, 2020, 04:48:25 AM
Merited by piotr_n (10), ABCbits (1), ~DefaultTrust (1)
 #2

Bitcoin Core 0.20.0 introduced a dumptxoutset command that exports the UTXO set to a file in a serialized format. It is not human readable so it will be a bit difficult to parse the file to get the actual UTXOs.

There is a PR to also have dumptxoutset output the UTXO set in a human readable format, but this has not been merged yet.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!