mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-09-13 13:00:10 +00:00

* Add VirtualBlueHashes to BlockDAG * Refactor TestGHOSTDAG to read DAGs from json files * Added a new DAG for the ghostdag test suite * Pass BehaviorFlags to delayed blocks
234 lines
4.9 KiB
JSON
234 lines
4.9 KiB
JSON
{
|
|
"K": 4,
|
|
"GenesisID": "A",
|
|
"ExpectedReds": [
|
|
"Q",
|
|
"H",
|
|
"I"
|
|
],
|
|
"Blocks": [
|
|
{
|
|
"ID": "B",
|
|
"ExpectedScore": 1,
|
|
"ExpectedSelectedParent": "A",
|
|
"ExpectedBlues": [
|
|
"A"
|
|
],
|
|
"Parents": [
|
|
"A"
|
|
]
|
|
},
|
|
{
|
|
"ID": "C",
|
|
"ExpectedScore": 2,
|
|
"ExpectedSelectedParent": "B",
|
|
"ExpectedBlues": [
|
|
"B"
|
|
],
|
|
"Parents": [
|
|
"B"
|
|
]
|
|
},
|
|
{
|
|
"ID": "D",
|
|
"ExpectedScore": 1,
|
|
"ExpectedSelectedParent": "A",
|
|
"ExpectedBlues": [
|
|
"A"
|
|
],
|
|
"Parents": [
|
|
"A"
|
|
]
|
|
},
|
|
{
|
|
"ID": "E",
|
|
"ExpectedScore": 4,
|
|
"ExpectedSelectedParent": "C",
|
|
"ExpectedBlues": [
|
|
"C",
|
|
"D"
|
|
],
|
|
"Parents": [
|
|
"C",
|
|
"D"
|
|
]
|
|
},
|
|
{
|
|
"ID": "F",
|
|
"ExpectedScore": 1,
|
|
"ExpectedSelectedParent": "A",
|
|
"ExpectedBlues": [
|
|
"A"
|
|
],
|
|
"Parents": [
|
|
"A"
|
|
]
|
|
},
|
|
{
|
|
"ID": "G",
|
|
"ExpectedScore": 2,
|
|
"ExpectedSelectedParent": "F",
|
|
"ExpectedBlues": [
|
|
"F"
|
|
],
|
|
"Parents": [
|
|
"F"
|
|
]
|
|
},
|
|
{
|
|
"ID": "H",
|
|
"ExpectedScore": 1,
|
|
"ExpectedSelectedParent": "A",
|
|
"ExpectedBlues": [
|
|
"A"
|
|
],
|
|
"Parents": [
|
|
"A"
|
|
]
|
|
},
|
|
{
|
|
"ID": "I",
|
|
"ExpectedScore": 1,
|
|
"ExpectedSelectedParent": "A",
|
|
"ExpectedBlues": [
|
|
"A"
|
|
],
|
|
"Parents": [
|
|
"A"
|
|
]
|
|
},
|
|
{
|
|
"ID": "J",
|
|
"ExpectedScore": 7,
|
|
"ExpectedSelectedParent": "E",
|
|
"ExpectedBlues": [
|
|
"E",
|
|
"F",
|
|
"G"
|
|
],
|
|
"Parents": [
|
|
"E",
|
|
"G"
|
|
]
|
|
},
|
|
{
|
|
"ID": "K",
|
|
"ExpectedScore": 8,
|
|
"ExpectedSelectedParent": "J",
|
|
"ExpectedBlues": [
|
|
"J"
|
|
],
|
|
"Parents": [
|
|
"J"
|
|
]
|
|
},
|
|
{
|
|
"ID": "L",
|
|
"ExpectedScore": 9,
|
|
"ExpectedSelectedParent": "K",
|
|
"ExpectedBlues": [
|
|
"K"
|
|
],
|
|
"Parents": [
|
|
"I",
|
|
"K"
|
|
]
|
|
},
|
|
{
|
|
"ID": "M",
|
|
"ExpectedScore": 10,
|
|
"ExpectedSelectedParent": "L",
|
|
"ExpectedBlues": [
|
|
"L"
|
|
],
|
|
"Parents": [
|
|
"L"
|
|
]
|
|
},
|
|
{
|
|
"ID": "N",
|
|
"ExpectedScore": 11,
|
|
"ExpectedSelectedParent": "M",
|
|
"ExpectedBlues": [
|
|
"M"
|
|
],
|
|
"Parents": [
|
|
"M"
|
|
]
|
|
},
|
|
{
|
|
"ID": "O",
|
|
"ExpectedScore": 11,
|
|
"ExpectedSelectedParent": "M",
|
|
"ExpectedBlues": [
|
|
"M"
|
|
],
|
|
"Parents": [
|
|
"M"
|
|
]
|
|
},
|
|
{
|
|
"ID": "P",
|
|
"ExpectedScore": 11,
|
|
"ExpectedSelectedParent": "M",
|
|
"ExpectedBlues": [
|
|
"M"
|
|
],
|
|
"Parents": [
|
|
"M"
|
|
]
|
|
},
|
|
{
|
|
"ID": "Q",
|
|
"ExpectedScore": 11,
|
|
"ExpectedSelectedParent": "M",
|
|
"ExpectedBlues": [
|
|
"M"
|
|
],
|
|
"Parents": [
|
|
"M"
|
|
]
|
|
},
|
|
{
|
|
"ID": "R",
|
|
"ExpectedScore": 11,
|
|
"ExpectedSelectedParent": "M",
|
|
"ExpectedBlues": [
|
|
"M"
|
|
],
|
|
"Parents": [
|
|
"M"
|
|
]
|
|
},
|
|
{
|
|
"ID": "S",
|
|
"ExpectedScore": 12,
|
|
"ExpectedSelectedParent": "R",
|
|
"ExpectedBlues": [
|
|
"R"
|
|
],
|
|
"Parents": [
|
|
"R"
|
|
]
|
|
},
|
|
{
|
|
"ID": "T",
|
|
"ExpectedScore": 16,
|
|
"ExpectedSelectedParent": "S",
|
|
"ExpectedBlues": [
|
|
"S",
|
|
"P",
|
|
"N",
|
|
"O"
|
|
],
|
|
"Parents": [
|
|
"N",
|
|
"O",
|
|
"P",
|
|
"Q",
|
|
"S"
|
|
]
|
|
}
|
|
]
|
|
}
|