github.com/vantum/vantum@v0.0.0-20180815184342-fe37d5f7a990/masternode/masternode-sync.go (about) 1 package masternode 2 3 type CMasternodeSync struct{ 4 5 } 6 7 8 //masternode sync constructor 9 func (cMnsync CMasternodeSync) CMasternodeSync() { 10 11 } 12 13 //is synced 14 func (cMnsync CMasternodeSync) IsSynced() { 15 16 } 17 18 19 //is blockchain synced 20 func (cMnsync CMasternodeSync) IsBlockchainSynced() { 21 22 } 23 24 25 //reset 26 func (cMnsync CMasternodeSync) Reset() { 27 28 } 29 30 //add masternode to list 31 func (cMnsync CMasternodeSync) AddedMasternodeList(hash uint256) { 32 33 } 34 35 //add masternode winner 36 func (cMnsync CMasternodeSync) AddedMasternodeWinner(hash uint256) { 37 38 } 39 40 //add budget item 41 func (cMnsync CMasternodeSync) AddedBudgetItem(hash uint256) { 42 43 } 44 45 //is budget propempty 46 func (cMnsync CMasternodeSync) IsBudgetPropEmpty() { 47 48 } 49 50 //is budget finempty 51 func (cMnsync CMasternodeSync) IsBudgetFinEmpty() { 52 53 } 54 55 //get next asset 56 func (cMnsync CMasternodeSync) GetNextAsset() { 57 58 } 59 60 61 //get sync status 62 func (cMnsync CMasternodeSync) GetSyncStatus() { 63 64 } 65 66 67 //get sync status 68 func (cMnsync CMasternodeSync) ProcessMessage(pfrom CNode,strCommand string,vRecv CDataStream) { 69 70 } 71 72 73 //clear fulfilled request 74 func (cMnsync CMasternodeSync) ClearFulfilledRequest() { 75 76 } 77 78 79 //process 80 func (cMnsync CMasternodeSync) Process() { 81 82 }