请问一下,我新开的一个普通节点,在本机上安装了Microscope 网页,想通过RPC调用获取链的数据,但是无法获取信息,请问是什么问题呀?
re-birth 使用rails s命令,得到的信息如下:
Started GET “/api/transactions?offset=0&limit=10” for 127.0.0.1 at 2018-09-14 04:39:19 -0700
Processing by Api::TransactionsController#index as HTML
Parameters: {“offset”=>“0”, “limit”=>“10”}
(0.6ms) SELECT COUNT( ) FROM “transactions”
↳ app/controllers/api/transactions_controller.rb:29
[active_model_serializers] Transaction Load (0.9ms) SELECT “transactions”. FROM “transactions” ORDER BY “transactions”.“block_id” DESC LIMIT $1 OFFSET $2 [[“LIMIT”, 10], [“OFFSET”, 0]]
[active_model_serializers] ↳ app/controllers/api/transactions_controller.rb:36
[active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (0.08ms)
[active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (4.23ms)
Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 1.5ms)
Started POST “/” for 127.0.0.1 at 2018-09-14 04:44:46 -0700
Processing by CitaController#index as HTML
Parameters: {“jsonrpc”=>“2.0”, “method”=>“peerCount”, “params”=>[], “id”=>17, “citum”=>{“jsonrpc”=>“2.0”, “method”=>“peerCount”, “params”=>[], “id”=>17}}
[active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms)
Completed 200 OK in 28ms (Views: 3.2ms | ActiveRecord: 0.0ms)
结果是查询不到任何区块和交易信息,请问如何解决?