Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #583 from BuxOrg/remove-centrifuge
Browse files Browse the repository at this point in the history
feat(BUX-417): remove code related to monitor agent that is not used and depends on centrifuge.
  • Loading branch information
dorzepowski authored Feb 14, 2024
2 parents 0ace965 + 375adbd commit dde5783
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 579 deletions.
20 changes: 0 additions & 20 deletions chainstate/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (

"github.com/BuxOrg/bux/utils"
"github.com/bitcoin-sv/go-broadcast-client/broadcast"
"github.com/centrifugal/centrifuge-go"
"github.com/tonicpow/go-minercraft/v2"
)

Expand Down Expand Up @@ -53,22 +52,3 @@ type ClientInterface interface {
QueryTimeout() time.Duration
FeeUnit() *utils.FeeUnit
}

// SocketHandler is composite interface of centrifuge handlers interfaces
type SocketHandler interface {
OnConnect(*centrifuge.Client, centrifuge.ConnectEvent)
OnDisconnect(*centrifuge.Client, centrifuge.DisconnectEvent)
OnError(*centrifuge.Client, centrifuge.ErrorEvent)
OnJoin(*centrifuge.Subscription, centrifuge.JoinEvent)
OnLeave(*centrifuge.Subscription, centrifuge.LeaveEvent)
OnMessage(*centrifuge.Client, centrifuge.MessageEvent)
OnPublish(*centrifuge.Subscription, centrifuge.PublishEvent)
OnServerJoin(*centrifuge.Client, centrifuge.ServerJoinEvent)
OnServerLeave(*centrifuge.Client, centrifuge.ServerLeaveEvent)
OnServerPublish(*centrifuge.Client, centrifuge.ServerPublishEvent)
OnServerSubscribe(*centrifuge.Client, centrifuge.ServerSubscribeEvent)
OnServerUnsubscribe(*centrifuge.Client, centrifuge.ServerUnsubscribeEvent)
OnSubscribeError(*centrifuge.Subscription, centrifuge.SubscribeErrorEvent)
OnSubscribeSuccess(*centrifuge.Subscription, centrifuge.SubscribeSuccessEvent)
OnUnsubscribe(*centrifuge.Subscription, centrifuge.UnsubscribeEvent)
}
269 changes: 0 additions & 269 deletions chainstate/processor.go

This file was deleted.

Loading

0 comments on commit dde5783

Please sign in to comment.