|
@ -70,6 +70,8 @@ type ResultUnconfirmedTxs struct { |
|
|
|
|
|
|
|
|
type ResultUnsafeSetConfig struct{} |
|
|
type ResultUnsafeSetConfig struct{} |
|
|
|
|
|
|
|
|
|
|
|
type ResultUnsafeCPUProfiler struct{} |
|
|
|
|
|
|
|
|
type ResultSubscribe struct { |
|
|
type ResultSubscribe struct { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -109,7 +111,9 @@ const ( |
|
|
ResultTypeEvent = byte(0x82) |
|
|
ResultTypeEvent = byte(0x82) |
|
|
|
|
|
|
|
|
// 0xa bytes for testing
|
|
|
// 0xa bytes for testing
|
|
|
ResultTypeUnsafeSetConfig = byte(0xa0) |
|
|
|
|
|
|
|
|
ResultTypeUnsafeSetConfig = byte(0xa0) |
|
|
|
|
|
ResultTypeUnsafeStartCPUProfiler = byte(0xa1) |
|
|
|
|
|
ResultTypeUnsafeStopCPUProfiler = byte(0xa2) |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
type TMResult interface { |
|
|
type TMResult interface { |
|
@ -133,4 +137,6 @@ var _ = wire.RegisterInterface( |
|
|
wire.ConcreteType{&ResultUnsubscribe{}, ResultTypeUnsubscribe}, |
|
|
wire.ConcreteType{&ResultUnsubscribe{}, ResultTypeUnsubscribe}, |
|
|
wire.ConcreteType{&ResultEvent{}, ResultTypeEvent}, |
|
|
wire.ConcreteType{&ResultEvent{}, ResultTypeEvent}, |
|
|
wire.ConcreteType{&ResultUnsafeSetConfig{}, ResultTypeUnsafeSetConfig}, |
|
|
wire.ConcreteType{&ResultUnsafeSetConfig{}, ResultTypeUnsafeSetConfig}, |
|
|
|
|
|
wire.ConcreteType{&ResultUnsafeCPUProfiler{}, ResultTypeUnsafeStartCPUProfiler}, |
|
|
|
|
|
wire.ConcreteType{&ResultUnsafeCPUProfiler{}, ResultTypeUnsafeStopCPUProfiler}, |
|
|
) |
|
|
) |