Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BtU32 ¶
TODO make actual error return here 4 byte Big Endian slice to uint32. Returns ffffffff if something doesn't work.
func HashFromString ¶
func LBtU32 ¶
Converts 4 byte Little Endian slices to uint32. Returns ffffffff if something doesn't work.
Types ¶
type RawHeaderData ¶
type RawHeaderData struct { FileNum [4]byte Offset [4]byte CurrentHeaderHash [32]byte Prevhash [32]byte }
Header data read off the .dat file. FileNum is the .dat file number Offset is where it is in the .dat file. CurrentHeaderHash is the 80byte header double hashed Prevhash is the 32 byte previous header included in the 80byte header.
Click to show internal directories.
Click to hide internal directories.