Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

api changes #402

Merged
merged 7 commits into from
Feb 11, 2016
Merged

api changes #402

merged 7 commits into from
Feb 11, 2016

Conversation

debris
Copy link
Collaborator

@debris debris commented Feb 10, 2016

  • removed *_at methods from client api. Instead accept BlockId which is either block number or hash
  • moved BlockId and TransactionId to client.rs. Blockchain doesn't have to know about them.
  • added two new types of BlockId - Earliest and Latest (same as in cpp implementation)
  • implemented jsonrpc methods eth_getTransactionByBlockNumberAndIndex and eth_getBlockByHash

@debris debris added the A0-pleasereview 🤓 Pull request needs code review. label Feb 10, 2016
@gavofyork
Copy link
Contributor

in cpp there's also Pending.

@debris
Copy link
Collaborator Author

debris commented Feb 10, 2016

Yes. I haven't implemented that yet, cause it requires a bit more work

@NikVolf
Copy link
Contributor

NikVolf commented Feb 11, 2016

looks nice, but i guess everyone should agree :)

@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Feb 11, 2016
arkpar added a commit that referenced this pull request Feb 11, 2016
@arkpar arkpar merged commit 6c8f82d into master Feb 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants