adridadou / eth-propeller-core

Core library for Ethereum propeller
Apache License 2.0
26 stars 16 forks source link

Feature/access timestamp #45

Closed Penait1 closed 4 years ago

Penait1 commented 4 years ago

Adds functionality to retrieve a block by hash/number. Now it's only possible to retrieve events at a block found by long/hash, but for our project we would like to retrieve the blockinfo of a particular block.

The info that we are interested in is the timestamp of the block. So that's added as well to the BlockInfo object. This should be added to the EthereumTest and EthJEventListener in propeller-ethj too which I already have ready, but the propeller-core dependency needs to be updated first