holgern/beem

unable to get virtual operations from local node

Opened this issue · 0 comments

I have local steem node running the docker.

I plan to use beem to connect to my local node and parse the blockchian. Here is the script,

from beem import Steem
import beem.block 
nodes=['http://0.0.0.0:8090/']
steem_instance = Steem(node=nodes)
bk=beem.block.Block(1000000,blockchain_instance=steem_instance)
print(bk.operations)

I can get the operations of each block successfully. However, I cannot get the correct virtual operations using the following command

bk_virtual=beem.block.Block(1000020,blockchain_instance=steem_instance,only_virtual_ops=True)
print(bk_virtual.operations)

Is there any special configuration that I need to set (e.g., in config.ini?) before the correct virtual operations can be returned? Thanks