This website requires JavaScript.
Explore
Help
Sign In
interesting
/
blockchain_go
mirror of
https://github.com/Jeiwan/blockchain_go.git
Watch
1
Star
0
Fork
You've already forked blockchain_go
0
Code
Issues
Projects
Releases
Wiki
Activity
f83ccd7b4c
blockchain_go
/
main.go
10 lines
102 B
Go
Raw
Normal View
History
Unescape
Escape
Init
2017-08-15 02:05:02 -05:00
package
main
func
main
(
)
{
Implement blockchain as a storage of blocks
2017-08-15 02:28:18 -05:00
bc
:=
NewBlockchain
(
)
Store a DB connection in Blockchain
2017-08-28 04:28:23 -05:00
defer
bc
.
db
.
Close
(
)
Implement basic blocks
2017-08-15 02:20:34 -05:00
Improve command line arguments processing
2017-08-28 09:03:43 -05:00
cli
:=
CLI
{
bc
}
Rework the CLI using 'flag'
2017-08-29 00:09:47 -05:00
cli
.
Run
(
)
Init
2017-08-15 02:05:02 -05:00
}