mirror of
https://github.com/dragonheim/gagent.git
synced 2025-04-26 02:18:59 -07:00
Changed chain_id to chainid
This commit is contained in:
parent
52f8d521cd
commit
8515707300
3 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
"genesis_time" = "2021-10-25:00:00.000000000Z"
|
"genesis_time" = "2021-10-25:00:00.000000000Z"
|
||||||
"chain_id" = "gagent_ledger"
|
"chainid" = "gagent_ledger"
|
||||||
|
|
||||||
"agent" = {
|
"agent" = {
|
||||||
"client" = "7e9d13fe-5151-5876-66c0-20ca03e8fca4"
|
"client" = "7e9d13fe-5151-5876-66c0-20ca03e8fca4"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"genesis_time": "2021-10-25:00:00.000000000Z",
|
"genesis_time": "2021-10-25:00:00.000000000Z",
|
||||||
"chain_id": "gagent_ledger",
|
"chainid": "gagent_ledger",
|
||||||
"agent": {
|
"agent": {
|
||||||
"client": "7e9d13fe-5151-5876-66c0-20ca03e8fca4",
|
"client": "7e9d13fe-5151-5876-66c0-20ca03e8fca4",
|
||||||
"shasum": "a76f7c3c7bc0f94b4f8aa63c605f8534db5675bb05d761f4461127fcadbf32d4",
|
"shasum": "a76f7c3c7bc0f94b4f8aa63c605f8534db5675bb05d761f4461127fcadbf32d4",
|
||||||
|
|
|
@ -119,13 +119,13 @@ type WorkerDetails struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type BlockChainDB struct {
|
type BlockChainDB struct {
|
||||||
DBName string `hcl:"chain_id,optional"`
|
DBName string `hcl:"chainid,optional"`
|
||||||
Agents []*AgentDetails `hcl:"agent,block"`
|
Agents []*AgentDetails `hcl:"agent,block"`
|
||||||
}
|
}
|
||||||
type AgentDetails struct {
|
type AgentDetails struct {
|
||||||
ScriptCode []byte
|
|
||||||
Hints []*string
|
|
||||||
Client string `hcl:"client"`
|
Client string `hcl:"client"`
|
||||||
Shasum string `hcl:"shasum"`
|
Shasum string `hcl:"shasum"`
|
||||||
Status string `hcl:"status"`
|
Status string `hcl:"status"`
|
||||||
|
ScriptCode []byte
|
||||||
|
Hints []*string
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue