Skip to content

Commit

Permalink
update dpos_test
Browse files Browse the repository at this point in the history
  • Loading branch information
kk47 committed Jun 27, 2019
1 parent 91237c9 commit de10976
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 1 deletion.
Binary file modified dpos.db
Binary file not shown.
171 changes: 171 additions & 0 deletions dpos.log
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,174 @@ False No metadata change
223.72.99.6:32881 - - [10/Jun/2019 07:16:50] "HTTP/1.1 GET /" - 200 OK
101.89.29.94:36011 - - [10/Jun/2019 07:17:21] "HTTP/1.1 GET /" - 200 OK
61.129.6.251:34087 - - [10/Jun/2019 07:17:49] "HTTP/1.1 GET /" - 200 OK
116.136.20.120:54003 - - [11/Jun/2019 09:24:38] "HTTP/1.1 GET /" - 200 OK
116.136.20.120:65041 - - [12/Jun/2019 09:26:02] "HTTP/1.1 GET /" - 200 OK
116.136.20.120:65041 - - [12/Jun/2019 09:26:03] "HTTP/1.1 GET /favicon.ico" - 404 Not Found
116.136.20.120:65519 - - [12/Jun/2019 09:42:33] "HTTP/1.1 GET /" - 200 OK
116.136.20.120:2349 - - [13/Jun/2019 09:34:33] "HTTP/1.1 GET /" - 200 OK
116.136.20.120:2349 - - [13/Jun/2019 09:34:33] "HTTP/1.1 GET /favicon.ico" - 404 Not Found
116.136.20.120:2349 - - [13/Jun/2019 09:34:41] "HTTP/1.1 GET /update" - 200 OK
116.136.20.120:2349 - - [13/Jun/2019 09:34:46] "HTTP/1.1 GET /" - 200 OK
116.136.20.120:2636 - - [13/Jun/2019 09:51:23] "HTTP/1.1 GET /update" - 200 OK
116.136.20.120:2636 - - [13/Jun/2019 09:51:28] "HTTP/1.1 GET /" - 200 OK
116.136.20.120:58459 - - [17/Jun/2019 11:20:27] "HTTP/1.1 GET /" - 200 OK
116.136.20.120:58459 - - [17/Jun/2019 11:20:27] "HTTP/1.1 GET /favicon.ico" - 404 Not Found
116.136.20.120:58532 - - [17/Jun/2019 11:27:44] "HTTP/1.1 GET /" - 200 OK
116.136.20.120:58558 - - [17/Jun/2019 11:28:25] "HTTP/1.1 GET /" - 200 OK
116.136.20.120:33332 - - [19/Jun/2019 12:55:38] "HTTP/1.1 GET /" - 200 OK
116.136.20.120:33332 - - [19/Jun/2019 12:55:38] "HTTP/1.1 GET /favicon.ico" - 404 Not Found
116.136.20.120:33332 - - [19/Jun/2019 12:55:42] "HTTP/1.1 GET /" - 200 OK
116.136.20.120:1113 - - [26/Jun/2019 10:25:17] "HTTP/1.1 GET /" - 200 OK
116.136.20.120:1113 - - [26/Jun/2019 10:25:18] "HTTP/1.1 GET /favicon.ico" - 404 Not Found
116.136.20.120:1113 - - [26/Jun/2019 10:25:27] "HTTP/1.1 GET /update" - 200 OK
116.136.20.120:1113 - - [26/Jun/2019 10:25:33] "HTTP/1.1 GET /update" - 200 OK
2019-06-27 09:55:56 - ./dpos_test.py:[line:1092] - INFO: configure done
2019-06-27 09:55:56 - ./dpos_test.py:[line:342] - INFO: {
"success_count": 3,
"results": [
{
"error_desc": "",
"hash": "1037b14f44995d5dfb8ef2a802943780b7678643a80443b15b7d08c7a29436c7",
"error_code": 0
},
{
"error_desc": "",
"hash": "d9d023f909a10075c3d59c6fe6990544f428d837794c6de72981d62de4c2c2ca",
"error_code": 0
},
{
"error_desc": "",
"hash": "c44ffc7aa09705ca76ac7b8bbe46a600167d5a374f6585e5127c57766b792416",
"error_code": 0
}
]
}
2019-06-27 09:55:56 - ./dpos_test.py:[line:1100] - INFO: approve cfg done
2019-06-27 09:58:50 - ./dpos_test.py:[line:342] - INFO: {
"success_count": 1,
"results": [
{
"error_desc": "",
"hash": "61e3b1100dc27c1f0ed37e5912d7bc4426e399fa9d7b6e09bd60b5ce8a01b145",
"error_code": 0
}
]
}
2019-06-27 09:58:50 - ./dpos_test.py:[line:1091] - INFO: configure done
2019-06-27 09:58:50 - ./dpos_test.py:[line:342] - INFO: {
"success_count": 3,
"results": [
{
"error_desc": "",
"hash": "415016d24d9d94dee36c266aa09bc80a3da3d077979e5d5fadad7a54c67eb4f7",
"error_code": 0
},
{
"error_desc": "",
"hash": "f2068296cbd529a060b8d7b075aa6bcb1eb64c97cf4b7028b528ba73bb5043e6",
"error_code": 0
},
{
"error_desc": "",
"hash": "283f9d3c8ac3268a3266f9cf1c314579ff027b3e4d98db5a86c5c4a9bd9a84a2",
"error_code": 0
}
]
}
2019-06-27 09:58:50 - ./dpos_test.py:[line:1099] - INFO: approve cfg done
2019-06-27 09:59:30 - ./dpos_test.py:[line:342] - INFO: {
"success_count": 1,
"results": [
{
"error_desc": "",
"hash": "abc0ebc85b12a91ae5631c49d020ec84ce0163a49565b232b1b463f7b80f3da0",
"error_code": 0
}
]
}
2019-06-27 09:59:30 - ./dpos_test.py:[line:1091] - INFO: configure done
2019-06-27 09:59:30 - ./dpos_test.py:[line:342] - INFO: {
"success_count": 3,
"results": [
{
"error_desc": "",
"hash": "dac53e3b71141460e47b06d2186c101dac91dc6651d863edc5c0fafa4c223a46",
"error_code": 0
},
{
"error_desc": "",
"hash": "21d509d1d1fe79f32c45b9949b7805d2568b2ec1ab2ed36ca5d0ea4400932f08",
"error_code": 0
},
{
"error_desc": "",
"hash": "429d8a3b47573cd5159372397da379be76b984933bbb48bab455ea22b0b19144",
"error_code": 0
}
]
}
2019-06-27 09:59:30 - ./dpos_test.py:[line:1099] - INFO: approve cfg done
2019-06-27 14:09:38 - ./dpos_test.py:[line:342] - INFO: {
"success_count": 1,
"results": [
{
"error_desc": "",
"hash": "997adf93876157b4893e47caa8a1f8c1492511b5475be4334be1dad0e0b9fec4",
"error_code": 0
}
]
}
2019-06-27 14:09:38 - ./dpos_test.py:[line:1091] - INFO: configure done
2019-06-27 14:09:38 - ./dpos_test.py:[line:342] - INFO: {
"success_count": 3,
"results": [
{
"error_desc": "",
"hash": "f78e5209ea0175b527f6a273cf70f39216a800a5ac51923b9d2a6c4b88d5937b",
"error_code": 0
},
{
"error_desc": "",
"hash": "b7e4c498cb086149b1d09ead932449c261a91148b6d0e3d7709add67b132a100",
"error_code": 0
},
{
"error_desc": "",
"hash": "48efb7e2e0e01fab377f56df098d16e450da817adbeab2485e0ca13f4b2ec250",
"error_code": 0
}
]
}
2019-06-27 14:09:38 - ./dpos_test.py:[line:1099] - INFO: approve cfg done
2019-06-27 14:15:32 - ./dpos_test.py:[line:342] - INFO: {
"success_count": 1,
"results": [
{
"error_desc": "",
"hash": "29235c7182391969eb984e0fc49967f25a3386fcaa11ea9b060d21cebd72ec7e",
"error_code": 0
}
]
}
2019-06-27 14:15:32 - ./dpos_test.py:[line:1091] - INFO: configure done
2019-06-27 14:15:32 - ./dpos_test.py:[line:342] - INFO: {
"success_count": 3,
"results": [
{
"error_desc": "",
"hash": "bd6463fcd548d5e397aacf9164aa8c92e2101d4206c174a308f94d85e34f501d",
"error_code": 0
},
{
"error_desc": "",
"hash": "63582743e110ed658ece4cc65e883d3a581102173c8ab1f0f01669ac0ba725c5",
"error_code": 0
},
{
"error_desc": "",
"hash": "3068aad4c0af367b22dc0141afc8b1345bb5c843eace816ec24619027004b010",
"error_code": 0
}
]
}
2019-06-27 14:15:32 - ./dpos_test.py:[line:1099] - INFO: approve cfg done
1 change: 0 additions & 1 deletion model/dpos_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,6 @@ def dumpLedgerView(self, span, startSeq=2):
startSeq += span
idx += span
lines.append('%s %.2f\n' % (tc, ts))

tc, ts = self.getTps(startSeq, endSeq)
lines.append('%s %.2f\n' % (tc, ts))
with open('./data.log', 'w') as f:
Expand Down

0 comments on commit de10976

Please sign in to comment.