adshares / ads

ADS Blockchain
Other
21 stars 4 forks source link

missing vips in get_block response #71

Closed PawelPodkalicki closed 6 years ago

PawelPodkalicki commented 6 years ago

In dev network should be 7 vip nodes, but there are only 3. Error occurred after many attempts for change node status. User 0001-00000000-XXXX was changing all other nodes' statuses. Error occured on node_zero_balancebranch. At this moment error didn't occure on master branch. Currently, full log in not available.

{
    "current_block_time": "1528801568",
    "previous_block_time": "1528801536",
    "tx": {
        "data": "1701000000000000A91F5B28A91F5BD41205D2C89178D4694C072E0C4CC1D2178950F1E368EB700953C36D4D0B527B5159297E816B14BE12075B3F055EACBA41760290025813521BC6CC4511AD6F0B"
    },
    "block_time_hex": "5B1FA900",
    "block_time": "1528801536",
    "block_prev": "5B1FA8E0",
    "block_next": "5B1FA920",
    "block": {
        "id": "5B1FA900",
        "time": "1528801536",
        "message_count": "29",
        "oldhash": "10B3F1B6E1C3B4DD99FF0E59683ECBA4061888EDACAD59A40FD772AF69C0523F",
        "minhash": "E1B2072E6492984D54E7C5E7CD394906AA8624292B7E5D4EE5A14B55317E06FE",
        "msghash": "B06492FD782DCB1472E7F5B0951D07FFFDB50824B0A11007A26357468F95734D",
        "nodhash": "0FCFA37D4861F121184E79A4BC34405D0A619C9AF0BAFAFA2CD6441DFF9D4BA7",
        "viphash": "23A7002738367EC99A7BD2988720FF0824580219D2502226084E1BCE11A0B634",
        "nowhash": "F625C25D78DCDBC53942A7F8DA0F5F815AEB0E400458664BB2DD0C2CCD233541",
        "vote_yes": "0",
        "vote_no": "0",
        "vote_total": "7",
        "node_count": "22",
        "dividend_balance": "0.00000000000",
        "dividend_pay": "true",
        "nodes": [{
                "id": "0000",
                "public_key": "0000000000000000000000000000000000000000000000000000000000000000",
                "hash": "575FF07740929B9789ADB9BE37163728A19016EBF0C236619D8944BD831F79D9",
                "message_hash": "D73570FDB8BFCABB4D125EA5997BB00E24A1ADC675A95597076408D8C6B47911",
                "msid": "0",
                "mtim": "1528794048",
                "balance": "0.00000000000",
                "status": "0",
                "account_count": "0",
                "port": "0",
                "ipv4": "0.0.0.0"
            }, {
                "id": "0001",
                "public_key": "73A5C92FA5142599B1C9863B43E026AFEFA6B57AEE8D189241C7F50C90BA5122",
                "hash": "099CFD06513915E553201DA066F7EDCFD5CE38C340316041F8E773A37508B9AE",
                "message_hash": "C0751712277EB64D7140C58D951DF14799D52EE8D612A4DDBEC1C96172637E36",
                "msid": "129",
                "mtim": "1528801551",
                "balance": "2540759.25134494120",
                "status": "6",
                "account_count": "20",
                "port": "8001",
                "ipv4": "172.16.222.101"
            }, {
                "id": "0002",
                "public_key": "FC4CA38301AC2080ADA2BC08C4A94405E546B659BD2EB559C1520A55586336CD",
                "hash": "541F5BBF202C8969E5DB86C61CDE06CF759C6C84937F0329BDF9580EDC7D4E62",
                "message_hash": "AFF893744257CD006E769AD1D9F2DE3E0875D440257A0E365B187C87D8C96653",
                "msid": "739",
                "mtim": "1528801556",
                "balance": "2478021.28748568346",
                "status": "2",
                "account_count": "20",
                "port": "8002",
                "ipv4": "172.16.222.101"
            }, {
                "id": "0003",
                "public_key": "5138AA57FAF5F7F2E67BDCA14F3CC377CD4C681B3F8B5A41DDDD590BD36C3125",
                "hash": "A27BC1F68538859A44BACD52046012B34F786A3000A012A7FF87908322EDB45F",
                "message_hash": "2518631BB0DD484EAF157407BC0626D0B6FBB302D26ACB0D910552AC5F5F3826",
                "msid": "57",
                "mtim": "1528801398",
                "balance": "2414482.27537773789",
                "status": "0",
                "account_count": "20",
                "port": "8003",
                "ipv4": "172.16.222.101"
            }, {
                "id": "0004",
                "public_key": "BB6D774EA23DFB4D6510F04EFFA79FCA281C046CB39143B101CB451D0919AFA9",
                "hash": "AD377EBA8CEBFBDD265D67E1EBF023FD33FBC3F780BD4C0BAA2F05184D144F9A",
                "message_hash": "EC685104DB56CC098F7589DD64F6297BBFDEB6C33C1DA2CAEC90ADE8FF9C0B6D",
                "msid": "708",
                "mtim": "1528801558",
                "balance": "2350943.26321390846",
                "status": "0",
                "account_count": "20",
                "port": "8004",
                "ipv4": "172.16.222.101"
            }, {
                "id": "0005",
                "public_key": "BCEEFF93B281A5FB95B3F05922DC3D9B4BDE91FC8116C340068F778CA16F2564",
                "hash": "854876C032083932BA3A277AD28CD19E8F3AA0E91176AB62829DD4C08E1290CE",
                "message_hash": "8F7BD7703C4F852DABE3497E021E5C53AD61574E10A0C385B94724AE1C62873B",
                "msid": "51",
                "mtim": "1528801459",
                "balance": "2287404.25110490796",
                "status": "0",
                "account_count": "20",
                "port": "8005",
                "ipv4": "172.16.222.101"
            }, {
                "id": "0006",
                "public_key": "3A1969E7A8F418537CBCBEDB8FDC8E4C5B4D78C4D73970B9E2739055FF4E883E",
                "hash": "E1CFC85DD224204957503516EFCC7E53D4512196299D62FA11B09F6CAB18DCC3",
                "message_hash": "C0E3558D54149F38074A0BD554BA5500BB0528D66DDC0F5D4302C9369A27168A",
                "msid": "716",
                "mtim": "1528801561",
                "balance": "2223865.23894048699",
                "status": "0",
                "account_count": "20",
                "port": "8006",
                "ipv4": "172.16.222.101"
            }, {
                "id": "0007",
                "public_key": "64938E054C70E26F37E56474B20E78691ACE89A441018041FDFFAC2B224BE55C",
                "hash": "91083C2AF6D1A2628AAE00CADB8BAB701862662EBEE7AE013B76139511CFD9F2",
                "message_hash": "6931506ADD1D7304019FA026C1B9D8787E12C8FA71557BF8985A00B308B6B8A1",
                "msid": "56",
                "mtim": "1528801489",
                "balance": "2160326.22683161762",
                "status": "2",
                "account_count": "20",
                "port": "8007",
                "ipv4": "172.16.222.101"
            }, {
                "id": "0008",
                "public_key": "DE5C6E34A1E694E5B5FA497CD488685FFBED0CCA3A840094AB0631EBD250ADC0",
                "hash": "46CA5954B794D8AA7D31204F2EDA13262A3CEDA424BC50EF54E0E2B0B0B3BA4E",
                "message_hash": "E42C98D5E553CC35AFC564CC1CB22403AC07DF3079F54229B4621A0AF95277F8",
                "msid": "742",
                "mtim": "1528801547",
                "balance": "2096787.21466631870",
                "status": "0",
                "account_count": "20",
                "port": "8008",
                "ipv4": "172.16.222.101"
            }, {
                "id": "0009",
                "public_key": "1C726BFC7B795B71B6FEBB084157DE14C60379C80EFC903CC8783C733C2AD3D4",
                "hash": "623C705758EC69AA575941C082EDFE28681A0FD696D8DC024EA0358D8E5AF533",
                "message_hash": "952341EF346D3975D0E1D7F3874907CBDF650928D8D3FD77A576E801B36D2423",
                "msid": "58",
                "mtim": "1528801557",
                "balance": "2033248.20255845253",
                "status": "0",
                "account_count": "20",
                "port": "8009",
                "ipv4": "172.16.222.101"
            }, {
                "id": "000A",
                "public_key": "3D22D7095007382ADD6F9530100F3F5FC42E82FE79FC69726B3F95E57C558C3F",
                "hash": "E6EE38F0F38CD5AAD05783974E1A44E2ED189C4533A60D2413D9A3D101D948F5",
                "message_hash": "6BB87C1FEA7365A65B51F54D6A25A0DE9F245ED51E7C26E5F77DA8422C568A1D",
                "msid": "752",
                "mtim": "1528801542",
                "balance": "1969709.19039281722",
                "status": "0",
                "account_count": "20",
                "port": "8010",
                "ipv4": "172.16.222.101"
            }, {
                "id": "000B",
                "public_key": "0D2AF8139E9BB7C0A0A80EEB1A37A9F444B814B00D0DF23960BE919F1CC3FF0E",
                "hash": "8B12C5931FE6438694855E6474256E5CC68A27C1F088FD2AE3AD599843D6804E",
                "message_hash": "C7192C42CB547AC2550A702EBAC2B915A4DF8A46048BE14B14D0D5A52DD0412D",
                "msid": "55",
                "mtim": "1528801471",
                "balance": "1906170.17828549627",
                "status": "0",
                "account_count": "20",
                "port": "8011",
                "ipv4": "172.16.222.101"
            }, {
                "id": "000C",
                "public_key": "D42C1FCF2A0E9EE57ADCE93F10F033000AC2691FFC76E14CF88C28932AC6ED99",
                "hash": "6965F97F76A612F9DBAB6BE6D2035DD50F73AE6673486B1A67E6E6E764139A6D",
                "message_hash": "F5AF20BED30210C6C3675F2A4EA0D3760269BC15D6140ED988B9DBF6CA4A18FB",
                "msid": "703",
                "mtim": "1528801549",
                "balance": "1842631.16612178969",
                "status": "0",
                "account_count": "20",
                "port": "8012",
                "ipv4": "172.16.222.101"
            }, {
                "id": "000D",
                "public_key": "079F0B36180C3750C72D784F91A9EB8416E535893547D777E4C0C7A5E90D428F",
                "hash": "18A3303CADE03E2C392B3EC068AAB0C4E9242165787FE990F488BCED2E23A091",
                "message_hash": "C85D29F3A554DECA8BE54EF83B9F38DBD65322468394B41A564E98C3F1DA536A",
                "msid": "67",
                "mtim": "1528801425",
                "balance": "1779092.15401191309",
                "status": "0",
                "account_count": "20",
                "port": "8013",
                "ipv4": "172.16.222.101"
            }, {
                "id": "000E",
                "public_key": "3B290107659C370BA8F60F1EA5A53A5F540551CEDB219127CFECA832E6860A09",
                "hash": "80B3E6048D43A78CFC387AAD7F08B0F10BF22D2855B634EB3FD4D49022BD11EB",
                "message_hash": "BB1F4CDC12E4FF74C8141DB9923B6574B94B0FFE67D6787183967D1E75116DE0",
                "msid": "727",
                "mtim": "1528801558",
                "balance": "1715553.14184770122",
                "status": "0",
                "account_count": "20",
                "port": "8014",
                "ipv4": "172.16.222.101"
            }, {
                "id": "000F",
                "public_key": "2DEA0AC8FE9CBACCB369D08D2F9F083BAE7F62BFAC103FCFEDB71C43500E8CC8",
                "hash": "447235E205130894467EECEFE345A585ADEC495BC580DDEBBAAEC517065C77A7",
                "message_hash": "D59F1710B0DAF3E49FCD6CC39365393465628B92AEAB2272D6B463635A68D3BA",
                "msid": "53",
                "mtim": "1528801361",
                "balance": "1652014.12973941743",
                "status": "0",
                "account_count": "20",
                "port": "8015",
                "ipv4": "172.16.222.101"
            }, {
                "id": "0010",
                "public_key": "D7F0A15F85B81F4B076FB3A0D9BCF19FA3E18FB0CC0D19D771F1306568CDF6DF",
                "hash": "AEF468C9E72DAA789E63596BB50F0D17AFBD0D113AD2A84C683C28CEDBECE8C7",
                "message_hash": "7CCD9720A76CC870888183C45F01092A74E0A4F39BA881AE7454CDB676EFF24F",
                "msid": "739",
                "mtim": "1528801565",
                "balance": "1588475.11757411372",
                "status": "0",
                "account_count": "20",
                "port": "8016",
                "ipv4": "172.16.222.101"
            }, {
                "id": "0011",
                "public_key": "5532A85D227C45B81C8E52C3EE05221965EB69F6F75DF5E9BB142F6FE4C50A24",
                "hash": "CDAA93C20353C8C221FD7D528898BA5CC6AC4ABAB39D3555745D2FF7B615DEF6",
                "message_hash": "5B945E60C410AEDE03DAEEAD4B34D3F70094B017E8FCEF699D877E3A14627393",
                "msid": "66",
                "mtim": "1528801527",
                "balance": "1524936.10546579120",
                "status": "0",
                "account_count": "20",
                "port": "8017",
                "ipv4": "172.16.222.101"
            }, {
                "id": "0012",
                "public_key": "9EA9E4D51C0F105CED871B8FE847DAF2C541E29DD89FE33527BE2B0EDB701BC0",
                "hash": "95CB8E8389D5A5E1C2585C71B7B8FC7EE38829C8EDFF0623A75F5A547BD8E7E4",
                "message_hash": "39A6D57513703A662FE88937B5B0BE9E8EAF720F95DA0F29E3B71C9E8C6CB65F",
                "msid": "732",
                "mtim": "1528801556",
                "balance": "1461397.09330132692",
                "status": "0",
                "account_count": "20",
                "port": "8018",
                "ipv4": "172.16.222.101"
            }, {
                "id": "0013",
                "public_key": "50F6C24AC6D1583948F1A4E721CE06B12F441641E775B45713D5C52DF6CEDF0C",
                "hash": "20D50F9FF9A0B9C989D21F443612C669B8EA568232D2FDE8DCBDDB2D7AD67752",
                "message_hash": "31EE3A4436D09EF618A66AF04373637AB6BE08AE40EBEB26F3753328088457A5",
                "msid": "47",
                "mtim": "1528801543",
                "balance": "1397858.08119350747",
                "status": "0",
                "account_count": "20",
                "port": "8019",
                "ipv4": "172.16.222.101"
            }, {
                "id": "0014",
                "public_key": "5DE0DD1FA563C3FBDEC9802E681968261C9734D9029F7F7EA9A15251337E34CC",
                "hash": "EEC82EAFD84AF74F8A08D8E7D0B29C86BC40C11AD7E5D35508AC257AE91E3EF6",
                "message_hash": "B686658731A81678719A569A0B8811C5173AAB36AAC9CBF32D0DA6A7899FF164",
                "msid": "738",
                "mtim": "1528801554",
                "balance": "1334319.06902799745",
                "status": "0",
                "account_count": "20",
                "port": "8020",
                "ipv4": "172.16.222.101"
            }, {
                "id": "0015",
                "public_key": "A9C0D972D8AAB73805EC4A28291E052E3B5FAFE0ADC9D724917054E5E2690363",
                "hash": "EB934F84A16ED9C37F9CBA661A9DFC6A6CACF3A1D46CE45F4B740E91F96C70F3",
                "message_hash": "346863D63F28F1BBAD063612B64F48544EEC01C0E68BBBD3EABC39675017671D",
                "msid": "21",
                "mtim": "1528801412",
                "balance": "0.99521317857",
                "status": "0",
                "account_count": "1",
                "port": "8021",
                "ipv4": "172.16.222.101"
            }
        ]
    },
    "logs": [{
            "type": "5",
            "name": "set_node_status",
            "bbank": "14",
            "status": "2147483648",
            "atxid": "0001000000350005"
        }, {
            "type": "5",
            "name": "set_node_status",
            "bbank": "13",
            "status": "1073741824",
            "atxid": "0001000002C30004"
        }, {
            "type": "5",
            "name": "set_node_status",
            "bbank": "12",
            "status": "536870912",
            "atxid": "00010000003B0003"
        }, {
            "type": "5",
            "name": "set_node_status",
            "bbank": "11",
            "status": "268435456",
            "atxid": "0001000002E30002"
        }, {
            "type": "5",
            "name": "set_node_status",
            "bbank": "10",
            "status": "134217728",
            "atxid": "0001000000810001"
        }, {
            "type": "5",
            "name": "set_node_status",
            "bbank": "9",
            "status": "67108864",
            "atxid": "0001000002E50008"
        }, {
            "type": "5",
            "name": "set_node_status",
            "bbank": "8",
            "status": "33554432",
            "atxid": "0001000000390007"
        }, {
            "type": "5",
            "name": "set_node_status",
            "bbank": "7",
            "status": "16777216",
            "atxid": "0001000002C90006"
        }, {
            "type": "6",
            "name": "unset_node_status",
            "bbank": "6",
            "status": "8388608",
            "atxid": "0001000000340005"
        }, {
            "type": "6",
            "name": "unset_node_status",
            "bbank": "5",
            "status": "4194304",
            "atxid": "0001000002C20004"
        }, {
            "type": "6",
            "name": "unset_node_status",
            "bbank": "4",
            "status": "2097152",
            "atxid": "00010000003A0003"
        }, {
            "type": "6",
            "name": "unset_node_status",
            "bbank": "3",
            "status": "1048576",
            "atxid": "0001000002E20002"
        }, {
            "type": "6",
            "name": "unset_node_status",
            "bbank": "2",
            "status": "524288",
            "atxid": "0001000000800001"
        }
    ],
    "hash": "575FF07740929B9789ADB9BE37163728A19016EBF0C236619D8944BD831F79D9"
}
PawelPodkalicki commented 6 years ago

Function unset_node_status was able to reset all bits.