ailabstw / go-pttai-core

:no_entry: [DEPRECATED] Current development in https://github.com/ailabstw/pttai-next
1 stars 1 forks source link

Remove RPC #11

Closed chhsiao1981 closed 5 years ago

chhsiao1981 commented 5 years ago
  1. After discussion, we think that it's good to separate the api-call and frontend-page-call.
  2. The ethereum-rpc provides good json-rpc api-call.
  3. The ethereum-rpc does not provide httpServer and cannot restart appropriately.
  4. We impleemnt api.endpoints to be able to do restart.
  5. For multi-part http-post, currently we workaround by integrating with frontend-page-call. We may integrate into api.endpoints in the future.