neo-go/pkg/rpc/server
Roman Khimov fc22a46a4c 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-26 11:36:47 +03:00
..
testdata core: add witness check to nep5 transfer method 2020-05-20 23:34:27 +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-26 11:36:47 +03:00
server_helper_test.go rpc/server: add notification subscription 2020-05-26 11:36:47 +03:00
server_test.go rpc/server: start and shutdown Server in tests 2020-05-25 00:27:39 +03:00
subscription.go rpc/server: add notification subscription 2020-05-26 11:36:47 +03:00
subscription_test.go rpc/server: add notification subscription 2020-05-26 11:36:47 +03:00