ethereumjs / ethereumjs-lib

[DEPRECATED] A JavaScript library of core Ethereum functions
442 stars 102 forks source link

update blockchain api #109

Closed wanderer closed 9 years ago

wanderer commented 9 years ago

blockchain should have a method that takes both hash+number+named lookups

kumavis commented 9 years ago

re: numbering

theres two kinds, relative (back from head) and absolute (forward from tail)

wanderer commented 9 years ago

add blockchain.on('headChange', ...)