Bitcoin Forum
May 04, 2024, 05:33:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: rusty-blockparser  (Read 81 times)
beeteeceeteeach (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 30, 2023, 02:10:07 AM
 #1

When running the fork ecdsa-dump-bitcoin, I receive an error:  block height is zero, followed by an overflow error, and then it exits.

I'm guessing the error is in sigdump.rs:

let cb = SigDump {
            dump_folder: PathBuf::from(dump_folder),
            sig_writer: SigDump::create_writer(cap, dump_folder.join("signatures.csv.tmp"))?,
            start_height: 0,
            end_height: 0,
            tx_count: 0,
            in_count: 0,
            out_count: 0,
            blocks_count: 0,
            db,
        };

Has anyone else encountered this error?
1714844034
Hero Member
*
Offline Offline

Posts: 1714844034

View Profile Personal Message (Offline)

Ignore
1714844034
Reply with quote  #2

1714844034
Report to moderator
1714844034
Hero Member
*
Offline Offline

Posts: 1714844034

View Profile Personal Message (Offline)

Ignore
1714844034
Reply with quote  #2

1714844034
Report to moderator
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714844034
Hero Member
*
Offline Offline

Posts: 1714844034

View Profile Personal Message (Offline)

Ignore
1714844034
Reply with quote  #2

1714844034
Report to moderator
1714844034
Hero Member
*
Offline Offline

Posts: 1714844034

View Profile Personal Message (Offline)

Ignore
1714844034
Reply with quote  #2

1714844034
Report to moderator
1714844034
Hero Member
*
Offline Offline

Posts: 1714844034

View Profile Personal Message (Offline)

Ignore
1714844034
Reply with quote  #2

1714844034
Report to moderator
whanau
Member
**
Offline Offline

Activity: 116
Merit: 30


View Profile
April 30, 2023, 02:22:21 AM
 #2

yes but no idea what it is Huh
zanezane
Full Member
***
Offline Offline

Activity: 868
Merit: 150


★Bitvest.io★ Play Plinko or Invest!


View Profile
April 30, 2023, 03:37:34 PM
 #3

When running the fork ecdsa-dump-bitcoin, I receive an error:  block height is zero, followed by an overflow error, and then it exits.

I'm guessing the error is in sigdump.rs:

let cb = SigDump {
            dump_folder: PathBuf::from(dump_folder),
            sig_writer: SigDump::create_writer(cap, dump_folder.join("signatures.csv.tmp"))?,
            start_height: 0,
            end_height: 0,
            tx_count: 0,
            in_count: 0,
            out_count: 0,
            blocks_count: 0,
            db,
        };

Has anyone else encountered this error?
Based on your error message you provide, it seems that 'start_height' variable in 'SigDump' is set to zero, which might be causing the overflow error. The 'start_height' variable is used to specify the block height from which the script will start analyzing the blockchain data.

One possible solution is to set 'start_height' to value greater than zero, such as current block height or a recent blockheight. You can find block height by running the 'bitcoin-cli getblockcount' command in your bitcoin node.

Or, you can modify the code automatically determine the 'start_height' based on the existing data in the dump folder. For example, you an check if the 'signatures.csv.tmp' file exists in the dump folder and if so, read the last line to determine the block height from which the script should start analyzing the blockchain data.
yes but no idea what it is Huh
Maybe my information could help you as well.  Wink

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!