This commit is contained in:
D-Stacks 2022-06-16 09:17:59 +02:00
parent 1dc8bbf738
commit 1f25116a91
28 changed files with 85 additions and 85 deletions

View File

@ -2,9 +2,9 @@ package rpcclient
import ( import (
"github.com/kaspanet/kaspad/app/appmessage" "github.com/kaspanet/kaspad/app/appmessage"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router" routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
) )
// RegisterForBlockAddedNotifications sends an RPC request respective to the function's name and returns the RPC server's response. // RegisterForBlockAddedNotifications sends an RPC request respective to the function's name and returns the RPC server's response.

View File

@ -2,9 +2,9 @@ package rpcclient
import ( import (
"github.com/kaspanet/kaspad/app/appmessage" "github.com/kaspanet/kaspad/app/appmessage"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router" routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
) )
// RegisterForVirtualSelectedParentChainChangedNotifications sends an RPC request respective to the function's name and returns the RPC server's response. // RegisterForVirtualSelectedParentChainChangedNotifications sends an RPC request respective to the function's name and returns the RPC server's response.

View File

@ -2,9 +2,9 @@ package rpcclient
import ( import (
"github.com/kaspanet/kaspad/app/appmessage" "github.com/kaspanet/kaspad/app/appmessage"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router" routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
) )
// RegisterForFinalityConflictsNotifications sends an RPC request respective to the function's name and returns the RPC server's response. // RegisterForFinalityConflictsNotifications sends an RPC request respective to the function's name and returns the RPC server's response.

View File

@ -2,9 +2,9 @@ package rpcclient
import ( import (
"github.com/kaspanet/kaspad/app/appmessage" "github.com/kaspanet/kaspad/app/appmessage"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router" routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
) )
// RegisterForNewBlockTemplateNotifications sends an RPC request respective to the function's name and returns the RPC server's response. // RegisterForNewBlockTemplateNotifications sends an RPC request respective to the function's name and returns the RPC server's response.

View File

@ -2,9 +2,9 @@ package rpcclient
import ( import (
"github.com/kaspanet/kaspad/app/appmessage" "github.com/kaspanet/kaspad/app/appmessage"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router" routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
) )
// RegisterPruningPointUTXOSetNotifications sends an RPC request respective to the function's name and returns the RPC server's response. // RegisterPruningPointUTXOSetNotifications sends an RPC request respective to the function's name and returns the RPC server's response.

View File

@ -2,9 +2,9 @@ package rpcclient
import ( import (
"github.com/kaspanet/kaspad/app/appmessage" "github.com/kaspanet/kaspad/app/appmessage"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router" routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
) )
// RegisterForUTXOsChangedNotifications sends an RPC request respective to the function's name and returns the RPC server's response. // RegisterForUTXOsChangedNotifications sends an RPC request respective to the function's name and returns the RPC server's response.

View File

@ -2,9 +2,9 @@ package rpcclient
import ( import (
"github.com/kaspanet/kaspad/app/appmessage" "github.com/kaspanet/kaspad/app/appmessage"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router" routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
) )
// RegisterForVirtualDaaScoreChangedNotifications sends an RPC request respective to the function's // RegisterForVirtualDaaScoreChangedNotifications sends an RPC request respective to the function's

View File

@ -2,9 +2,9 @@ package rpcclient
import ( import (
"github.com/kaspanet/kaspad/app/appmessage" "github.com/kaspanet/kaspad/app/appmessage"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router" routerpkg "github.com/kaspanet/kaspad/infrastructure/network/netadapter/router"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/kaspanet/kaspad/app/rpc/rpccontext"
) )
// RegisterForVirtualSelectedParentBlueScoreChangedNotifications sends an RPC request respective to the function's // RegisterForVirtualSelectedParentBlueScoreChangedNotifications sends an RPC request respective to the function's