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 incoming blocks #347

Closed Vineet77 closed 4 years ago

Vineet77 commented 4 years ago

Package context: /internal/endpoints

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

harshalpatel165 commented 4 years ago

does it matter what I name the constant, or do you need a specific name for the constant? Am I naming it based on what the constant does

kastolars commented 4 years ago

"/block" is fine

harshalpatel165 commented 4 years ago

I mean the name of the constant

harshalpatel165 commented 4 years ago

as like what goes before ` = "/block" '

kastolars commented 4 years ago

Doesn't matter. pick what you want. Something short and succint.

harshalpatel165 commented 4 years ago

completed