SIGBlockchain / project_aurum

SIG Blockchain blockchain project in Go
https://acm.cs.uic.edu/sigblockchain
MIT License
7 stars 1 forks source link

Endpoint for Handling Queries by Height and by Hash #346

Closed bashbashbash closed 4 years ago

bashbashbash commented 4 years ago

Workspace:

Create a constant in endpoints.go that will be used to accept incoming blocks by height. The endpoint should be /block/height

Create a constant in 'endpoint.go' that will be used to accept incoming blocks by hash. The endpoint should be /block/hash

kastolars commented 4 years ago

https://github.com/SIGBlockchain/project_aurum/blob/master/internal/endpoints/endpoints.go

kastolars commented 4 years ago

@bashbashbash What do you mean by "keys" here?

bashbashbash commented 4 years ago

@bashbashbash What do you mean by "keys" here?

Good point - meant values and updated the issue statement

harshalpatel165 commented 4 years ago

completed