The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
woop/rpc
Richard Liu 7a0f18f92b
Ricl web3 (#720)
6 years ago
..
hmyapi Ricl web3 (#720) 6 years ago
README.md Ricl web3 (#720) 6 years ago
backend.go Ricl web3 (#720) 6 years ago
client.go Ricl web3 (#720) 6 years ago
endpoints.go Ricl web3 (#720) 6 years ago
errors.go Ricl web3 (#720) 6 years ago
handler.go Ricl web3 (#720) 6 years ago
http.go Ricl web3 (#720) 6 years ago
ipc.go Ricl web3 (#720) 6 years ago
ipc_unix.go Ricl web3 (#720) 6 years ago
json.go Ricl web3 (#720) 6 years ago
server.go Ricl web3 (#720) 6 years ago
service.go Ricl web3 (#720) 6 years ago
stdio.go Ricl web3 (#720) 6 years ago
subscription.go Ricl web3 (#720) 6 years ago
types.go Ricl web3 (#720) 6 years ago
websocket.go Ricl web3 (#720) 6 years ago

README.md

Files that are mainly ported over from go-ethereum (might include tslint fix):

  • rpc/client.go: the rpc client.
  • rpc/endpoints.go: starting HTTP/WS/IPC endpoints.
  • rpc/errors.go: error code handling.
  • rpc/handler.go: handling requests, running methods.
  • rpc/http.go: starting HTTP service.
  • rpc/ipc_unix.go: util for ipc unix
  • rpc/ipc.go: util for general ipc
  • rpc/json.go: json de-/serialization
  • rpc/server.go: the rpc server
  • rpc/stdio.go: stdio for ipc.
  • rpc/subscription.go: ws subscriptions.
  • rpc/types.go: type declarations
  • rpc/websocket.go: ws connection.
  • rpc/hmyapi/addrlock.go

Richard's changes:

  • rpc/service.go: our service (http/ws/ipc) starter/stoper
  • other files under rpc/hmyapi/.
  • other files that are not in rpc folder. Added some util functions.