stacks-network / stacks

Overview of Bitcoin's Stacks layer.
https://www.stacks.co/
2.03k stars 243 forks source link

get transaction information failed in local full node #455

Closed garysdevil closed 4 years ago

garysdevil commented 4 years ago
  1. block height []STX@blockstack-node:~$ curl http://localhost:6270/v1/info | grep "last_block_processed" {"server_alive": true, "zonefile_count": 112326, "last_block_processed": 610433, "indexing": false, "consensus": "59c1ead3cb05d07fae43fd3c5b182139", "testnet": false, "last_block_seen": 610439, "server_version": "20.0.9.0", "first_block": 373601}

  2. curl , return [] STX@blockstack-node:~$ curl http://127.0.0.1:6270/v1/blockchains/bitcoin/operations/609819 []STX@blockstack-node:~$

  3. log [2019-12-30 18:05:16,888] [DEBUG] [blockstackd:306] (114469.140534452696832) Message is small enough to parse (170 bytes) [2019-12-30 18:05:16,889] [DEBUG] [blockstackd:408] (114469.140534452696832) RPC rpc_get_num_blockstack_ops_at(6985516) begin from 127.0.0.1 [2019-12-30 18:05:16,889] [DEBUG] [namedb:91] (114469.140534452696832) Connect to database '/opt/STX/blockstack-server/blockstack-server.db' [2019-12-30 18:05:16,939] [DEBUG] [db:3042] (114469.140534452696832) 0 preorders; 0 history rows at 6985516 [2019-12-30 18:05:16,948] [DEBUG] [blockstackd:972] (114469.140534452696832) 0 name operations at 6985516 [2019-12-30 18:05:16,949] [DEBUG] [blockstackd:430] (114469.140534452696832) RPC rpc_get_num_blockstack_ops_at(6985516) end from 127.0.0.1 127.0.0.1 - - [30/Dec/2019 18:05:16] "POST /RPC2 HTTP/1.0" 200 - 127.0.0.1 - - [30/Dec/2019 18:05:16] "GET /v1/blockchains/bitcoin/operations/6985516 HTTP/1.1" 200 -