OSDN Git Service

Dev ws notification (#1442)
authorwz <mars@bytom.io>
Mon, 5 Nov 2018 03:45:22 +0000 (11:45 +0800)
committerPaladz <yzhu101@uottawa.ca>
Mon, 5 Nov 2018 03:45:22 +0000 (11:45 +0800)
commit9be3fcf9788ecda0dfb529fe58058743b84dd748
tree4c5b884c348781abb675ee27d89c470b11ce5c3f
parent9915eea89e3569583cc964bdb422f2bb432c3f7d
Dev ws notification (#1442)

* add websocket

* Implementing block notifications

* Code adjustment structure

* Remove the dependency on protocol

* Add transaction notice

* modify Message notification type

* modify func name

* Roll back file content

* add error for websocket

* add the package to vendor

* Trimming code

* Adjust the code
api/api.go
api/websocket.go [new file with mode: 0644]
cmd/bytomd/commands/run_node.go
config/config.go
net/websocket/wsclient.go [new file with mode: 0644]
net/websocket/wsjson.go [new file with mode: 0644]
net/websocket/wsnotificationmaneger.go [new file with mode: 0644]
node/node.go