Skip to content

Commit

Permalink
Merge pull request #12 from pred695/pred7
Browse files Browse the repository at this point in the history
updated with upstream
  • Loading branch information
pred695 authored Apr 17, 2024
2 parents 74624e7 + 7fe4eb1 commit 5dfd9b4
Show file tree
Hide file tree
Showing 3 changed files with 3,354 additions and 4 deletions.
3 changes: 0 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ func main() {
cbtxbase := CalculateBaseSize(cbTx)
cbtxwitness := calculateWitnessSize(cbTx)
fmt.Println("Cbtx wt: ", cbtxwitness+(cbtxbase*4))
// witnessMerkle := NewMerkleTree(wTxIDs)
// fmt.Println("Length of the witness merkles: ", len(wTxIDs))
// fmt.Println("WMKR: ", hex.EncodeToString(witnessMerkle.Data))
if ProofOfWork(&Bh) {
file, _ := os.Create("output.txt")
defer file.Close()
Expand Down
2 changes: 1 addition & 1 deletion output.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
0700000000000000000000000000000000000000000000000000000000000000000000008acb098b6fabb458fb5e9622c59b039f53be6b18ea74ba1ea979b9de7b867c18f4571c66ffff001fcd7c0000
0700000000000000000000000000000000000000000000000000000000000000000000008acb098b6fabb458fb5e9622c59b039f53be6b18ea74ba1ea979b9de7b867c18c4891f66ffff001fc2940000
010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff1b03951a0604f15ccf5609013803062b9b5a0100072f425443432f20ffffffff02de538c0100000000160014df4bf9f3621073202be59ae590f55f42879a21a00000000000000000266a24aa21a9edc12866091f7c0be0eabb04856dd16f94ccaf1d824fef2dbc601cf6af95304d9a0120000000000000000000000000000000000000000000000000000000000000000000000000
af1ba229597bfda4230104246326f9441ce9a04f92354f9d786f5a759431a3ad
82f9f96db7bdbb9e70626747632e373b34eefd50d613dfea7092744169591b6e
Expand Down
Loading

0 comments on commit 5dfd9b4

Please sign in to comment.