Skip to content

Commit

Permalink
go version 1.18.0 a düşürüldü
Browse files Browse the repository at this point in the history
* version 1.18 .0 a dusurldu
* tum bagımlılıklar versıona uygun oalrak ayarlandı
* bunu dusurmemızın sebebı gob kutuphanesındekı degısıklıkten dolayıdır
* sorun çözüldü herşey düzgün bir şekilde çalışıyor
  • Loading branch information
SadikSunbul committed Jun 20, 2024
1 parent 94fc68c commit c0a3e0a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/SadikSunbul/GO-BlockChain-Simulation

go 1.22.4
go 1.18

require (
github.com/dgraph-io/badger v1.6.2
Expand Down
15 changes: 8 additions & 7 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ package main

import (
"github.com/SadikSunbul/GO-BlockChain-Simulation/cli"
"github.com/SadikSunbul/GO-BlockChain-Simulation/wallet"
"os"
)

func main() {
defer os.Exit(0) // programı sonlandırır
//cli := cli.CommandLine{} // Komut satırı işlemleri için kullanılan yapıyı temsil eder.
//cli.Run() // Komut satırı işlemlerini başlatır
defer os.Exit(0) // programı sonlandırır
cli := cli.CommandLine{} // Komut satırı işlemleri için kullanılan yapıyı temsil eder.
cli.Run() // Komut satırı işlemlerini başlatır

//w := wallet.MakeWallet()
//w.Address()
w := wallet.MakeWallet()
w.Address()

cli := cli.CommandLine{}
cli.CreateWallet()
//cli := cli.CommandLine{}
//cli.CreateWallet()
}
Binary file modified tmp/blocks/000000.vlog
Binary file not shown.
Binary file removed tmp/blocks/000006.sst
Binary file not shown.
Binary file added tmp/blocks/000008.sst
Binary file not shown.
Binary file modified tmp/blocks/MANIFEST
Binary file not shown.
Binary file modified tmp/wallets.data
Binary file not shown.

0 comments on commit c0a3e0a

Please sign in to comment.