Package context: internal/wallet
For this issue, make a new branch off of dev and create a function that initialize a table in package wallet with the following columns:
wallet address (text)
timestamp for the last block produced by that wallet address (integer)
Please update sqlstatements.go with your sql statements and constants.go with the file name.
Package context:
internal/wallet
For this issue, make a new branch off ofdev
and create a function that initialize a table in packagewallet
with the following columns:Please update
sqlstatements.go
with your sql statements andconstants.go
with the file name.Helpful resources: Package
sql
, https://www.w3schools.com/sql/sql_create_table.asp,wallet.GetWalletAddress()
.