neo-go/pkg/rpc/server
Roman Khimov e1408b6525 rpc/server: add notification subscription
Note that the protocol differs a bit from #895 in its notifications format,
to avoid additional server-side processing we're omitting some metadata like:
 * block size and confirmations
 * transaction fees, confirmations, block hash and timestamp
 * application execution doesn't have ScriptHash populated

Some block fields may also differ in encoding compared to `getblock` results
(like nonce field).

I think these differences are unnoticieable for most use cases, so we can
leave them as is, but it can be changed in the future.
2020-05-13 17:17:41 +03:00
..
testdata rpc: update test chain 2020-04-06 09:31:09 +03:00
prometheus.go rpc: reuse handlers map for prometheus metrics 2020-03-25 15:25:12 +03:00
server.go rpc/server: add notification subscription 2020-05-13 17:17:41 +03:00
server_helper_test.go rpc/server: add notification subscription 2020-05-13 17:17:41 +03:00
server_test.go rpc/server: start and shutdown Server in tests 2020-05-12 17:42:34 +03:00
subscription.go rpc/server: add notification subscription 2020-05-13 17:17:41 +03:00
subscription_test.go rpc/server: add notification subscription 2020-05-13 17:17:41 +03:00