Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Block type edges: Parent (Block) and Miner (Account) #48

Closed
raulk opened this issue Jun 22, 2018 · 0 comments
Closed

Block type edges: Parent (Block) and Miner (Account) #48

raulk opened this issue Jun 22, 2018 · 0 comments
Assignees
Labels
Type: Feature New feature or request

Comments

@raulk
Copy link
Contributor

raulk commented Jun 22, 2018

The Block->parent and Block->miner fields are modelled, but they are not being populated at the current time.

  • The first one should call web3.eth.getBlock with the parent's hash and would return an EthqlBlock.
  • The second should return an EthqlAccount initialised with the miner's address.
@raulk raulk added the Type: Feature New feature or request label Jun 22, 2018
raulk pushed a commit that referenced this issue Jun 30, 2018
This allows for better reuse of fetching logic from web3.

Enables implementing #48.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants