Last active
January 8, 2023 13:19
-
-
Save vivekteega/3e929aced6aa054d3004e7af5ed9b559 to your computer and use it in GitHub Desktop.
Revisions
-
vivekteega revised this gist
Jan 8, 2023 . No changes.There are no files selected for viewing
-
vivekteega revised this gist
Jan 8, 2023 . 1 changed file with 159 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,159 @@ b0300f159042b8bba6308811d3bfc010000007a657267706f6f6c2e636f6d00fabe6d6d93e39ad1d87a38eaeec386fc1bb8df7661407c996226b8a7234c5feb8262766720000000000000000000000001c817a804000000001976a914dd7ed928fa0944ef645140053f61a483d79ee6a788ac00000000 [2023-01-08T09:21:59.075Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 22.237 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [info] (chain) Block f7c75a3788378d3f3e10baa853498414ab322af022f9a38d5bccd34348154f37 (5894401) added to chain (size=241 txs=1 time=8.32646). [2023-01-08T09:22:08.642Z] error: Input values missing from tx. [2023-01-08T09:22:08.649Z] info: Block Service: The best block hash is: f7c75a3788378d3f3e10baa853498414ab322af022f9a38d5bccd34348154f37 at height: 5894401. Time between the last 2 blocks (adjusted): 20 second(s). 0 millisecond(s). [2023-01-08T09:22:08.744Z] info: Testing getRawBlock 00000020b8cd6dc403b5190a77f577293322c3de8795e1b742057c8a94c8f6b0d674decfe65b7c7b0d467142bd8e2716e14a5b2585282f461c433bc75bdb9540e2e9ea4d3f8bba63d7d80c1c0360c7600101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4b0301f159043f8bba6308811d3bfc020000007a657267706f6f6c2e636f6d00fabe6d6de823836e54c12227aec507403eb040242f9283e1784de82c84c2bb0ef57e313b20000000000000000000000001c817a804000000001976a914dd7ed928fa0944ef645140053f61a483d79ee6a788ac00000000 [2023-01-08T09:22:08.746Z] info: ::ffff:127.0.0.1 "GET /api/block/f7c75a3788378d3f3e10baa853498414ab322af022f9a38d5bccd34348154f37" 200 581 5.588 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:28.279Z] error: Error: block not in index at /flosight/node_modules/flosight-api/lib/blocks.js:84:41 at /flosight/flocore-node/lib/services/block/index.js:493:14 at /flosight/flocore-node/lib/services/db/index.js:108:16 at /flosight/node_modules/levelup/lib/levelup.js:168:14 [2023-01-08T09:22:28.281Z] info: ::ffff:127.0.0.1 "GET /api/block/-300" 503 18 2.570 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:28.375Z] info: ::ffff:127.0.0.1 "GET /api/tx/-300" 404 9 4.197 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [addresses.js.130] -300 [2023-01-08T09:22:28.488Z] info: ::ffff:127.0.0.1 "GET /api/addr/-300/?noTxList=1" 400 29 1.374 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:28.576Z] error: undefined [2023-01-08T09:22:28.577Z] info: ::ffff:127.0.0.1 "GET /api/block-index/-300" 503 - 0.847 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:29.763Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.766 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-08T09:22:29.789Z] info: Testing getRawBlock 00000020b8cd6dc403b5190a77f577293322c3de8795e1b742057c8a94c8f6b0d674decfe65b7c7b0d467142bd8e2716e14a5b2585282f461c433bc75bdb9540e2e9ea4d3f8bba63d7d80c1c0360c7600101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4b0301f159043f8bba6308811d3bfc020000007a657267706f6f6c2e636f6d00fabe6d6de823836e54c12227aec507403eb040242f9283e1784de82c84c2bb0ef57e313b20000000000000000000000001c817a804000000001976a914dd7ed928fa0944ef645140053f61a483d79ee6a788ac00000000 [2023-01-08T09:22:29.791Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 26.332 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-08T09:22:34.036Z] error: Error: block not in index at /flosight/node_modules/flosight-api/lib/blocks.js:84:41 at /flosight/flocore-node/lib/services/block/index.js:493:14 at /flosight/flocore-node/lib/services/db/index.js:108:16 at /flosight/node_modules/levelup/lib/levelup.js:168:14 [2023-01-08T09:22:34.038Z] info: ::ffff:127.0.0.1 "GET /api/block/-1312397" 503 18 6.612 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:34.139Z] info: ::ffff:127.0.0.1 "GET /api/tx/-1312397" 404 9 1.994 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [addresses.js.130] -1312397 [2023-01-08T09:22:34.233Z] info: ::ffff:127.0.0.1 "GET /api/addr/-1312397/?noTxList=1" 400 33 1.070 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:34.331Z] error: undefined [2023-01-08T09:22:34.332Z] info: ::ffff:127.0.0.1 "GET /api/block-index/-1312397" 503 - 0.690 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:36.146Z] info: ::ffff:127.0.0.1 web socket disconnect [2023-01-08T09:22:36.147Z] info: ::ffff:127.0.0.1 unsubscribe: p2p/transaction total: 1 [2023-01-08T09:22:36.147Z] info: ::ffff:127.0.0.1 unsubscribe: p2p/block total: 2 [2023-01-08T09:22:36.147Z] info: ::ffff:127.0.0.1 unsubscribe: p2p/headers total: 0 [2023-01-08T09:22:36.147Z] info: ::ffff:127.0.0.1 unsubscribe: header/block total: 0 [2023-01-08T09:22:36.147Z] info: ::ffff:127.0.0.1 unsubscribe: mempool/transaction total: 1 [2023-01-08T09:22:36.148Z] info: ::ffff:127.0.0.1 unsubscribe: block/block total: 1 [2023-01-08T09:22:36.438Z] info: ::ffff:127.0.0.1 "GET /api/version" 304 - 0.761 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:36.574Z] info: ::ffff:127.0.0.1 "GET /api/status?q=getInfo" 200 141 0.519 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:36.576Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.454 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:36.606Z] info: ::ffff:127.0.0.1 "GET /api/currency" 304 - 26.928 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:36.662Z] info: Testing getRawBlock 0100000009fb265418a6e29b68ece0414546faf6daa523e4b33601c34ed642e698a70a43bd701090958ab2ed051e33fc6e4f23f0373a24e41b70e99f62ebb2b546ec8dae0b8e635598cf061ccc5ea0000101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff5303995d12062f503253482f044b8e6355080368bf9f03000000fabe6d6db448043ca5cc8480d47c566d25da9e077a83510d5733a7d0f44da211c084579840000000000000000d2f6e6f64655374726174756d2f000000000100f2052a010000001976a91455e485eb2617a4146db0dfcff232e25d027cef8888ac00000000 [2023-01-08T09:22:36.663Z] info: ::ffff:127.0.0.1 "GET /api/block/b4aba4d854b3265f531e2a2ce963943bb81f6e5d428dc562dff0a12f5cd459b0" 200 655 1.718 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:36.695Z] info: ::ffff:127.0.0.1 "GET /api/status?q=getInfo" 304 - 0.499 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:36.792Z] info: ::ffff:127.0.0.1 "GET /api/txs?block=b4aba4d854b3265f531e2a2ce963943bb81f6e5d428dc562dff0a12f5cd459b0&pageNum=0" 200 952 5.836 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:36.830Z] info: ::ffff:127.0.0.1 "GET /api/peer" 304 - 0.546 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:36.840Z] info: ::ffff:127.0.0.1 web socket subscribe: inv [2023-01-08T09:22:36.931Z] info: ::ffff:127.0.0.1 web socket subscribe: sync [2023-01-08T09:22:36.932Z] info: ::ffff:127.0.0.1 web socket subscribe: sync [2023-01-08T09:22:36.932Z] info: ::ffff:127.0.0.1 web socket subscribe: sync [2023-01-08T09:22:39.194Z] info: ::ffff:127.0.0.1 web socket subscribe: inv [2023-01-08T09:22:39.222Z] info: Testing getRawBlock 00000020b8cd6dc403b5190a77f577293322c3de8795e1b742057c8a94c8f6b0d674decfe65b7c7b0d467142bd8e2716e14a5b2585282f461c433bc75bdb9540e2e9ea4d3f8bba63d7d80c1c0360c7600101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4b0301f159043f8bba6308811d3bfc020000007a657267706f6f6c2e636f6d00fabe6d6de823836e54c12227aec507403eb040242f9283e1784de82c84c2bb0ef57e313b20000000000000000000000001c817a804000000001976a914dd7ed928fa0944ef645140053f61a483d79ee6a788ac00000000 [2023-01-08T09:22:39.225Z] info: Testing getRawBlock 00000020d003b4bad047ff36902ed3391b9a8d20b08c32e83223e261ce61bd14b14ad4ae9b4f60084ed48b1a1697737992b5dce3250dd31422c45eb43394abcb4cf02fa12b8bba63a37b0c1c2217fb160101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4b0300f159042b8bba6308811d3bfc010000007a657267706f6f6c2e636f6d00fabe6d6d93e39ad1d87a38eaeec386fc1bb8df7661407c996226b8a7234c5feb8262766720000000000000000000000001c817a804000000001976a914dd7ed928fa0944ef645140053f61a483d79ee6a788ac00000000 [2023-01-08T09:22:39.228Z] info: ::ffff:127.0.0.1 "GET /api/peer" 304 - 0.471 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:39.230Z] info: Testing getRawBlock 00000020bfca72aa37222969cb87c587a55747d0c26829a349099d1d18f83c44c6e15bda64e610095bd772742b2dd485279d47a4b5a5a223036c3879f5dac8dcab435eec4588ba63a2bf0c1ca34aff2b0101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4b03fff059044588ba6308811be482030000007a657267706f6f6c2e636f6d00fabe6d6dff7c4a1c135fe1f7960cebceb56c11b0da5a88e64f4433e2690b0a4fce4d817820000000000000000000000001c817a804000000001976a914dd7ed928fa0944ef645140053f61a483d79ee6a788ac00000000 [2023-01-08T09:22:39.234Z] info: Testing getRawBlock 000000203ff47ac69c1f898b852b84ebdbb116013200796e4ca638bd8cf7e2160938a8fa73f5491c17e338f0f9263fe9cb0d9650d3af0e1c923d9cb896f59ed841547f0e3588ba6313050d1c4aa8a5f20101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4b03fef059043688ba6308811be482010000007a657267706f6f6c2e636f6d00fabe6d6dff7c4a1c135fe1f7960cebceb56c11b0da5a88e64f4433e2690b0a4fce4d817820000000000000000000000001c817a804000000001976a914dd7ed928fa0944ef645140053f61a483d79ee6a788ac00000000 [2023-01-08T09:22:39.236Z] info: Testing getRawBlock 000000200cc032fbc8d3af3ab26959206dd170198598b8f97b8d68fd57ed5715515f18be663406f55f922d10c4a96ddbb163e2d6144bd6f800c0493ca8e3d19420e832122588ba63fe4b0d1c06cd27370101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4b03fdf059042688ba6308811d358b320000007a657267706f6f6c2e636f6d00fabe6d6df5498f4b64f018f55562ac8b7bef0a699fcadad15f81f7f6ccc702faa1fd91f320000000000000000000000001c817a804000000001976a914dd7ed928fa0944ef645140053f61a483d79ee6a788ac00000000 [2023-01-08T09:22:39.238Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=5" 200 - 20.275 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:39.322Z] info: ::ffff:127.0.0.1 web socket subscribe: sync [info] (net) Connected to 193.70.122.58:7312. [info] (net) Received version (193.70.122.58:7312): version=70015 height=5894401 services=1101 agent=/FLOCore:0.15.2/ [info] (node) Time offset: 0 (0 minutes). [info] (peer) Initializing witness compact blocks (193.70.122.58:7312). [info] (peer) Peer initialized compact blocks (mode=0, version=2) (193.70.122.58:7312). [info] (net) Received 1 addrs (hosts=440, peers=9) (193.70.122.58:7312). [info] (net) Connected to 104.254.110.125:7312. [info] (net) Connected to 34.73.149.245:7312. [info] (net) Received version (34.73.149.245:7312): version=70013 height=5894401 services=1101 agent=/flowire:0.5.0/flod:0.12.0/ [2023-01-08T09:22:53.102Z] error: Error: block not in index at /flosight/node_modules/flosight-api/lib/blocks.js:84:41 at /flosight/flocore-node/lib/services/block/index.js:493:14 at /flosight/flocore-node/lib/services/db/index.js:108:16 at /flosight/node_modules/levelup/lib/levelup.js:168:14 Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at ServerResponse.setHeader (_http_outgoing.js:470:11) at ServerResponse.header (/flosight/node_modules/express/lib/response.js:794:10) at ServerResponse.send (/flosight/node_modules/express/lib/response.js:174:12) at Common.handleErrors (/flosight/node_modules/flosight-api/lib/common.js:28:23) at BlockController.checkBlockHash (/flosight/node_modules/flosight-api/lib/blocks.js:54:24) at Layer.handle [as handle_request] (/flosight/node_modules/express/lib/router/layer.js:95:5) at next (/flosight/node_modules/express/lib/router/route.js:144:13) at /flosight/node_modules/flosight-api/lib/index.js:75:5 at Layer.handle [as handle_request] (/flosight/node_modules/express/lib/router/layer.js:95:5) at next (/flosight/node_modules/express/lib/router/route.js:144:13) TypeError: Cannot read property 'length' of undefined at BlockController.checkBlockHash (/flosight/node_modules/flosight-api/lib/blocks.js:53:12) at Layer.handle [as handle_request] (/flosight/node_modules/express/lib/router/layer.js:95:5) at next (/flosight/node_modules/express/lib/router/route.js:144:13) at /flosight/node_modules/flosight-api/lib/index.js:75:5 at Layer.handle [as handle_request] (/flosight/node_modules/express/lib/router/layer.js:95:5) at next (/flosight/node_modules/express/lib/router/route.js:144:13) at Route.dispatch (/flosight/node_modules/express/lib/router/route.js:114:3) at Layer.handle [as handle_request] (/flosight/node_modules/express/lib/router/layer.js:95:5) at /flosight/node_modules/express/lib/router/index.js:284:15 at param (/flosight/node_modules/express/lib/router/index.js:365:14) [2023-01-08T09:22:53.103Z] info: ::ffff:127.0.0.1 "GET /api/block/5894401" 503 18 3.701 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:53.104Z] info: Testing getRawBlock 00000020b8cd6dc403b5190a77f577293322c3de8795e1b742057c8a94c8f6b0d674decfe65b7c7b0d467142bd8e2716e14a5b2585282f461c433bc75bdb9540e2e9ea4d3f8bba63d7d80c1c0360c7600101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4b0301f159043f8bba6308811d3bfc020000007a657267706f6f6c2e636f6d00fabe6d6de823836e54c12227aec507403eb040242f9283e1784de82c84c2bb0ef57e313b20000000000000000000000001c817a804000000001976a914dd7ed928fa0944ef645140053f61a483d79ee6a788ac00000000 [2023-01-08T09:22:53.200Z] info: ::ffff:127.0.0.1 "GET /api/tx/5894401" 404 9 5.954 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [addresses.js.130] 5894401 [2023-01-08T09:22:53.294Z] info: ::ffff:127.0.0.1 "GET /api/addr/5894401/?noTxList=1" 400 32 0.920 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:53.389Z] info: ::ffff:127.0.0.1 "GET /api/block-index/5894401" 200 80 0.525 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:53.516Z] info: ::ffff:127.0.0.1 web socket subscribe: sync [2023-01-08T09:22:53.520Z] info: ::ffff:127.0.0.1 "GET /api/peer" 304 - 0.493 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:53.525Z] info: Testing getRawBlock 00000020b8cd6dc403b5190a77f577293322c3de8795e1b742057c8a94c8f6b0d674decfe65b7c7b0d467142bd8e2716e14a5b2585282f461c433bc75bdb9540e2e9ea4d3f8bba63d7d80c1c0360c7600101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4b0301f159043f8bba6308811d3bfc020000007a657267706f6f6c2e636f6d00fabe6d6de823836e54c12227aec507403eb040242f9283e1784de82c84c2bb0ef57e313b20000000000000000000000001c817a804000000001976a914dd7ed928fa0944ef645140053f61a483d79ee6a788ac00000000 [2023-01-08T09:22:53.527Z] info: ::ffff:127.0.0.1 "GET /api/block/f7c75a3788378d3f3e10baa853498414ab322af022f9a38d5bccd34348154f37" 304 - 7.995 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:53.630Z] info: ::ffff:127.0.0.1 "GET /api/txs?block=f7c75a3788378d3f3e10baa853498414ab322af022f9a38d5bccd34348154f37&pageNum=0" 200 872 5.834 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:56.364Z] error: Error: block not in index at /flosight/node_modules/flosight-api/lib/blocks.js:84:41 at /flosight/flocore-node/lib/services/block/index.js:123:14 at /flosight/flocore-node/lib/services/block/index.js:513:16 at /flosight/flocore-node/lib/services/header/index.js:631:14 at /flosight/flocore-node/lib/services/db/index.js:108:16 at /flosight/node_modules/levelup/lib/levelup.js:168:14 [2023-01-08T09:22:56.365Z] error: Error: block not in index at /flosight/node_modules/flosight-api/lib/blocks.js:84:41 at /flosight/flocore-node/lib/services/block/index.js:493:14 at /flosight/flocore-node/lib/services/db/index.js:108:16 at /flosight/node_modules/levelup/lib/levelup.js:168:14 [2023-01-08T09:22:56.366Z] error: uncaught exception: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at ServerResponse.setHeader (_http_outgoing.js:470:11) at ServerResponse.header (/flosight/node_modules/express/lib/response.js:794:10) at ServerResponse.send (/flosight/node_modules/express/lib/response.js:174:12) at Common.handleErrors (/flosight/node_modules/flosight-api/lib/common.js:24:25) at /flosight/node_modules/flosight-api/lib/blocks.js:84:28 at /flosight/flocore-node/lib/services/block/index.js:493:14 at /flosight/flocore-node/lib/services/db/index.js:108:16 at /flosight/node_modules/levelup/lib/levelup.js:168:14 [2023-01-08T09:22:56.368Z] error: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at ServerResponse.setHeader (_http_outgoing.js:470:11) at ServerResponse.header (/flosight/node_modules/express/lib/response.js:794:10) at ServerResponse.send (/flosight/node_modules/express/lib/response.js:174:12) at Common.handleErrors (/flosight/node_modules/flosight-api/lib/common.js:24:25) at /flosight/node_modules/flosight-api/lib/blocks.js:84:28 at /flosight/flocore-node/lib/services/block/index.js:493:14 at /flosight/flocore-node/lib/services/db/index.js:108:16 at /flosight/node_modules/levelup/lib/levelup.js:168:14 [2023-01-08T09:22:56.365Z] info: ::ffff:127.0.0.1 "GET /api/block/5894402" 503 18 1.553 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" [2023-01-08T09:22:56.368Z] info: Beginning shutdown [2023-01-08T09:22:56.368Z] warn: Node is stopping, gently closing the database. Please wait, this could take a while. [2023-01-08T09:22:56.369Z] info: P2P Service: disconnecting pool and peers. SIGINT issued, system shutdown initiated [2023-01-08T09:22:56.369Z] info: Disconnected from peer: 127.0.0.1 [2023-01-08T09:22:56.370Z] info: Stopping flosight-ui [2023-01-08T09:22:56.372Z] info: Stopping flosight-api [2023-01-08T09:22:56.373Z] info: Stopping web [2023-01-08T09:22:56.375Z] info: Stopping fee [2023-01-08T09:22:56.375Z] info: Stopping address [2023-01-08T09:22:56.377Z] info: Stopping transaction [2023-01-08T09:22:56.378Z] info: Stopping block [2023-01-08T09:22:56.379Z] info: Stopping mempool [2023-01-08T09:22:56.379Z] info: Stopping header [2023-01-08T09:22:56.380Z] info: Stopping p2p [info] (net) Removed loader peer (91.206.16.214:7312). [info] (blockstore) Closing FileBlockStore... [info] (node) Node is closed. [2023-01-08T09:22:56.413Z] info: fcoin shutdown [2023-01-08T09:22:56.414Z] info: Stopping timestamp [2023-01-08T09:22:56.415Z] info: Stopping db -
vivekteega renamed this gist
Jan 6, 2023 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
vivekteega revised this gist
Jan 6, 2023 . 1 changed file with 140 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,140 @@ [2023-01-06T17:07:32.528Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 1.987 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:08:03.692Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.531 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:08:03.695Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 2.024 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [info] (chain) Block f0c8cc093c389029a4eafb5918cb85c111882143084a26c2452f1130a1f1198d (5891112) added to chain (size=241 txs=1 time=15.89699). [info] (chain) Block 4400dcda2c8093b3bb6a6f8f5bab8313f0d176b89ed609a6c476db09307d3acb (5891113) added to chain (size=241 txs=1 time=3.904943). [2023-01-06T17:08:34.129Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.498 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:08:34.133Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 2.063 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [info] (chain) Block 2190299808d6f7adf3f0ce74287cebe7d7e963239c4b8e6bdfb028b23f4bdbff (5891114) added to chain (size=253 txs=1 time=3.006184). [2023-01-06T17:09:04.999Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.611 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:09:05.002Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 1.891 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [info] (chain) Block eba591b12f545d1c793dca2ed1f4407c0e44776e3ac41728a1cc2b1550964738 (5891115) added to chain (size=238 txs=1 time=3.037854). [info] (chain) Block a4c80906c3aabcf4b203764192ab78d8db3f8dcf934d52a07de9ee544af1b2d7 (5891116) added to chain (size=238 txs=1 time=2.999016). [info] (chain) Block d7f6b16ea766ec7a16f2658e42832f0ffd4c7e938530a0e6ddf500d4967836bb (5891117) added to chain (size=238 txs=1 time=4.642164). [info] (chain) Block 4b033756eccd09636ad6a84f9d8a742503a4edb2a6f6495cc142d3df9ad7ecd2 (5891118) added to chain (size=238 txs=1 time=3.031004). [info] (chain) Block 07f4d117491b57676c90df86f177cc816de730c4393026ad714bef47234f2a70 (5891119) added to chain (size=253 txs=1 time=4.673625). [info] (chain) Block e6157f3ca8aec46704439c3a5daac7ca303cc9599f889d580d30fc1477236be6 (5891120) added to chain (size=238 txs=1 time=4.014798). [2023-01-06T17:09:36.116Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.489 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:09:36.119Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 2.235 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:09:05.002Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 1.891 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [info] (chain) Block eba591b12f545d1c793dca2ed1f4407c0e44776e3ac41728a1cc2b1550964738 (5891115) added to chain (size=238 txs=1 time=3.037854). [info] (chain) Block a4c80906c3aabcf4b203764192ab78d8db3f8dcf934d52a07de9ee544af1b2d7 (5891116) added to chain (size=238 txs=1 time=2.999016). [info] (chain) Block d7f6b16ea766ec7a16f2658e42832f0ffd4c7e938530a0e6ddf500d4967836bb (5891117) added to chain (size=238 txs=1 time=4.642164). [info] (chain) Block 4b033756eccd09636ad6a84f9d8a742503a4edb2a6f6495cc142d3df9ad7ecd2 (5891118) added to chain (size=238 txs=1 time=3.031004). [info] (chain) Block 07f4d117491b57676c90df86f177cc816de730c4393026ad714bef47234f2a70 (5891119) added to chain (size=253 txs=1 time=4.673625). [info] (chain) Block e6157f3ca8aec46704439c3a5daac7ca303cc9599f889d580d30fc1477236be6 (5891120) added to chain (size=238 txs=1 time=4.014798). [2023-01-06T17:09:36.116Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.489 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:09:36.119Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 2.235 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:09:51.288Z] info: ::ffff:127.0.0.1 "GET /api/status?q=getBestBlockHash" 200 84 0.334 "curl/7.52.1" [2023-01-06T17:10:06.691Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.595 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:10:06.694Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 1.945 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:10:37.106Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.390 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:10:37.109Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 1.494 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [info] (chain) Block 3d2a63bdf496201c06171577f71cf15bc8ed1568d429c1bccfe418f577b74851 (5891121) added to chain (size=241 txs=1 time=3.6705). [2023-01-06T17:11:07.475Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.559 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:11:07.479Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 2.238 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:11:37.796Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.447 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:11:37.800Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 1.351 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [info] (chain) Block c7234ce959e38d1b2eda6ea4a011a9d2fa22074db7c2d885bd764b5cb61ee8d5 (5891122) added to chain (size=253 txs=1 time=4.519153). [2023-01-06T17:12:08.159Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.435 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:12:08.173Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 1.472 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [info] (chain) Block da092649804e25295dab44bd34a3d0ad73a1476da93e4d979aab097da2f9902d (5891123) added to chain (size=238 txs=1 time=3.111135). [info] (chain) Block fd8e6a58f369b9a9a464c486f494630c7497966b5ff34d8f53e4fd02357775e0 (5891124) added to chain (size=238 txs=1 time=2.971466). [2023-01-06T17:12:38.477Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.351 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:12:38.479Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 1.222 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [info] (chain) Block 3053388cad62cb1ecf1a66d4889efc0d97d4bcc1912c96d033842b4f42ae8500 (5891125) added to chain (size=238 txs=1 time=3.054836). [2023-01-06T17:13:08.838Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.438 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:13:08.843Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 4.466 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [info] (chain) Block 095e03f8d91cffd24394ec2c11d514f0f75397b904941a9fc4b629336c7b183a (5891126) added to chain (size=238 txs=1 time=3.911013). [2023-01-06T17:13:39.178Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.569 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:13:39.182Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 2.841 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [info] (chain) Block 18277182535185175b301fcc85a95a213a1dc2acf3d39911a747d4b94ca4c851 (5891127) added to chain (size=253 txs=1 time=2.724179). [2023-01-06T17:14:09.498Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.559 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:14:09.501Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 1.742 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:14:39.868Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.509 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:14:39.872Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 2.254 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:13:08.843Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 4.466 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [info] (chain) Block 095e03f8d91cffd24394ec2c11d514f0f75397b904941a9fc4b629336c7b183a (5891126) added to chain (size=238 txs=1 time=3.911013). [2023-01-06T17:13:39.178Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.569 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:13:39.182Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 2.841 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [info] (chain) Block 18277182535185175b301fcc85a95a213a1dc2acf3d39911a747d4b94ca4c851 (5891127) added to chain (size=253 txs=1 time=2.724179). [2023-01-06T17:14:09.498Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.559 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:14:09.501Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 1.742 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:14:39.868Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.509 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:14:39.872Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 2.254 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:14:51.338Z] info: ::ffff:127.0.0.1 "GET /api/status?q=getBestBlockHash" 200 84 0.743 "curl/7.52.1" [2023-01-06T17:15:10.385Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.466 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:15:10.393Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 6.704 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [info] (chain) Block 27e244a4a81d1304e963b3b59953073008b268020a30436d26bde7c4413d1d74 (5891128) added to chain (size=241 txs=1 time=17.735107). [2023-01-06T17:15:40.829Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.462 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:15:40.832Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 1.516 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:16:11.152Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.628 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:16:11.156Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=1" 200 - 2.173 "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" [2023-01-06T17:16:20.592Z] info: ::ffff:127.0.0.1 "GET /api/version" 200 27 2.211 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54" [2023-01-06T17:16:20.764Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=5" 200 - 1.765 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54" [2023-01-06T17:16:20.825Z] info: ::ffff:127.0.0.1 "GET /api/status?q=getInfo" 200 141 8.661 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54" [2023-01-06T17:16:20.840Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.605 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54" [2023-01-06T17:16:20.937Z] info: ::ffff:127.0.0.1 "GET /api/status?q=getInfo" 304 - 1.331 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54" [2023-01-06T17:16:20.945Z] info: ::ffff:127.0.0.1 "GET /api/currency" 200 36 92.960 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54" [2023-01-06T17:16:21.086Z] info: ::ffff:127.0.0.1 "GET /api/peer" 200 49 1.272 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54" [2023-01-06T17:16:21.213Z] info: ::ffff:127.0.0.1 web socket subscribe: inv [2023-01-06T17:16:21.304Z] info: ::ffff:127.0.0.1 web socket subscribe: inv [2023-01-06T17:16:21.304Z] info: ::ffff:127.0.0.1 web socket subscribe: sync [2023-01-06T17:16:21.305Z] info: ::ffff:127.0.0.1 web socket subscribe: inv [2023-01-06T17:16:21.305Z] info: ::ffff:127.0.0.1 web socket subscribe: sync [2023-01-06T17:16:21.305Z] info: ::ffff:127.0.0.1 web socket subscribe: sync [2023-01-06T17:16:30.088Z] info: ::ffff:127.0.0.1 "GET /api/blocks" 200 - 1.993 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54" [2023-01-06T17:16:30.121Z] info: ::ffff:127.0.0.1 web socket subscribe: sync [2023-01-06T17:16:30.124Z] info: ::ffff:127.0.0.1 "GET /api/peer" 304 - 0.726 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54" [2023-01-06T17:16:32.568Z] info: ::ffff:127.0.0.1 web socket subscribe: inv [2023-01-06T17:16:32.630Z] info: ::ffff:127.0.0.1 "GET /api/peer" 304 - 0.592 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54" [2023-01-06T17:16:32.635Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=5" 200 - 6.645 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54" [2023-01-06T17:16:32.679Z] info: ::ffff:127.0.0.1 web socket subscribe: sync [info] (chain) Block d86f25b8feac0015cbff72aa65cb211d7f358ee6673e2539bf887f2eea942a9d (5891129) added to chain (size=253 txs=1 time=3.546167). [2023-01-06T17:16:37.979Z] error: Error: block not in index at /flosight/node_modules/flosight-api/lib/blocks.js:84:41 at /flosight/flocore-node/lib/services/block/index.js:483:14 at /flosight/flocore-node/lib/services/db/index.js:108:16 at /flosight/node_modules/levelup/lib/levelup.js:168:14 [2023-01-06T17:16:37.981Z] info: ::ffff:127.0.0.1 "GET /api/block/1" 503 18 9.125 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54" [2023-01-06T17:16:37.988Z] error: uncaught exception: TypeError: Cannot read property 'toRaw' of undefined at /flosight/flocore-node/lib/services/block/index.js:184:27 at /flosight/flocore-node/lib/services/block/index.js:483:14 at /flosight/flocore-node/lib/services/db/index.js:108:16 at /flosight/node_modules/levelup/lib/levelup.js:168:14 [2023-01-06T17:16:37.990Z] error: TypeError: Cannot read property 'toRaw' of undefined at /flosight/flocore-node/lib/services/block/index.js:184:27 at /flosight/flocore-node/lib/services/block/index.js:483:14 at /flosight/flocore-node/lib/services/db/index.js:108:16 at /flosight/node_modules/levelup/lib/levelup.js:168:14 [2023-01-06T17:16:37.991Z] info: Beginning shutdown [2023-01-06T17:16:37.991Z] warn: Node is stopping, gently closing the database. Please wait, this could take a while. [2023-01-06T17:16:37.991Z] info: P2P Service: disconnecting pool and peers. SIGINT issued, system shutdown initiated [2023-01-06T17:16:37.992Z] info: Disconnected from peer: 127.0.0.1 [2023-01-06T17:16:37.993Z] info: Stopping flosight-ui [2023-01-06T17:16:37.993Z] info: Stopping flosight-api [2023-01-06T17:16:37.995Z] info: Stopping web [2023-01-06T17:16:37.996Z] info: Stopping fee [2023-01-06T17:16:37.996Z] info: Stopping address [2023-01-06T17:16:37.998Z] info: Stopping transaction Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at ServerResponse.setHeader (_http_outgoing.js:470:11) at ServerResponse.header (/flosight/node_modules/express/lib/response.js:794:10) at ServerResponse.send (/flosight/node_modules/express/lib/response.js:174:12) at Common.handleErrors (/flosight/node_modules/flosight-api/lib/common.js:28:23) at BlockController.checkBlockHash (/flosight/node_modules/flosight-api/lib/blocks.js:54:24) at Layer.handle [as handle_request] (/flosight/node_modules/express/lib/router/layer.js:95:5) at next (/flosight/node_modules/express/lib/router/route.js:144:13) at /flosight/node_modules/flosight-api/lib/index.js:75:5 at Layer.handle [as handle_request] (/flosight/node_modules/express/lib/router/layer.js:95:5) at next (/flosight/node_modules/express/lib/router/route.js:144:13) [2023-01-06T17:16:37.998Z] info: Stopping block [2023-01-06T17:16:37.998Z] info: Stopping mempool [2023-01-06T17:16:37.998Z] info: Stopping header [2023-01-06T17:16:37.998Z] info: Stopping p2p [info] (net) Removed loader peer (193.70.122.58:7312). [info] (blockstore) Closing FileBlockStore... [info] (node) Node is closed. [2023-01-06T17:16:38.090Z] info: fcoin shutdown [2023-01-06T17:16:38.090Z] info: Stopping timestamp [2023-01-06T17:16:38.090Z] info: Stopping db -
vivekteega revised this gist
Jan 3, 2023 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ container_id: b3b700eb17fb -
vivekteega revised this gist
Jan 3, 2023 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ [2023-01-03T19:41:33.685Z] error: Input values missing from tx. [2023-01-03T19:41:33.702Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=5" 200 - 1.274 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/109.0" [2023-01-03T19:41:33.695Z] error: Input values missing from tx. @@ -15,4 +15,4 @@ [2023-01-03T19:41:33.740Z] error: Input values missing from tx. [2023-01-03T19:41:33.743Z] error: Input values missing from tx. [2023-01-03T19:41:33.748Z] error: Input values missing from tx. [2023-01-03T19:41:33.751Z] error: Input values missing from tx. -
vivekteega revised this gist
Jan 3, 2023 . 2 changed files with 1170 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ ``` [2023-01-03T19:41:33.685Z] error: Input values missing from tx. [2023-01-03T19:41:33.702Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=5" 200 - 1.274 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/109.0" [2023-01-03T19:41:33.695Z] error: Input values missing from tx. -
vivekteega created this gist
Jan 3, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ [2023-01-03T19:41:33.685Z] error: Input values missing from tx. [2023-01-03T19:41:33.702Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=5" 200 - 1.274 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/109.0" [2023-01-03T19:41:33.695Z] error: Input values missing from tx. [2023-01-03T19:41:33.699Z] error: Input values missing from tx. [2023-01-03T19:41:33.709Z] error: Input values missing from tx. [2023-01-03T19:41:33.713Z] info: Testing getRawBlock 00000020a0d0dc5135c83597aebe86b14d8b6d6872b133b039059314a33711d48788c9586f5cecf157f3df8f6fc3150bcca74d6a7052ec9726d7dc3e68052c38824385c6e6889062820f011cc09a9a560102000000010000000000000000000000000000000000000000000000000000000000000000ffffffff1d034b195304e688906200b0000059030000000a4d696e696e67636f726500000000020000000000000000266a24aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf9902f5009000000001976a914e32f4c91f2e9c1b6eb057424d81abf21ba24825c88ac000000000f616d696e696e67706f6f6c2e636f6d [2023-01-03T19:41:33.714Z] info: ::ffff:127.0.0.1 "GET /api/block/d40d233ad9bfbc73adc297cf0f92e73a4b57070132bea3d5f5a9d496a69d42fa" 200 666 1.716 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/109.0" [2023-01-03T19:41:33.714Z] error: Input values missing from tx. [2023-01-03T19:41:33.718Z] info: ::ffff:127.0.0.1 "GET /api/blocks?limit=5" 200 - 1.151 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/109.0" [2023-01-03T19:41:33.723Z] error: Input values missing from tx. [2023-01-03T19:41:33.725Z] error: Input values missing from tx. [2023-01-03T19:41:33.730Z] error: Input values missing from tx. [2023-01-03T19:41:33.733Z] error: Input values missing from tx. [2023-01-03T19:41:33.740Z] error: Input values missing from tx. [2023-01-03T19:41:33.743Z] error: Input values missing from tx. [2023-01-03T19:41:33.748Z] error: Input values missing from tx. [2023-01-03T19:41:33.751Z] error: Input values missing from tx.