// ĠVer i Block ĠBlock chain ĠProject Ċ // ĠCopyright Ġ 2 0 1 7 - 2 0 1 8 ĠVer i Block , ĠInc Ċ // ĠCopyright Ġ 2 0 1 8 - 2 0 2 0 ĠX en ios ĠSE ZC Ċ // ĠAll Ġrights Ġreserved . Ċ // Ġhttps :// www . ver ib lock . org Ċ // ĠDistributed Ġunder Ġthe ĠMIT Ġsoftware Ġlicense , Ġsee Ġthe Ġaccompanying Ċ // Ġfile ĠLICENSE Ġor Ġhttp :// www . opensource . org / licenses / mit - license . php . Ċ Ċ package Ġorg . ver ib lock . lite . net Ċ Ċ import Ġnode core . api . grpc . Ver i Block Messages Ċ Ċ interface ĠGateway Strategy Ġ{ ĊĊĠĠĠ Ġfun Ġget Balance ( get Balance Request : ĠVer i Block Messages . Get Balance Request ): ĠVer i Block Messages . Get Balance Reply ĊĊĠĠĠ Ġfun Ġget Ver i Block Public ations ( get Ver i Block Public ations Request : ĠVer i Block Messages . Get Ver i Block Public ations Request ): ĠVer i Block Messages . Get Ver i Block Public ations Reply ĊĊĠĠĠ Ġfun Ġget Debug Ver i Block Public ations ( get Debug VT Bs Request : ĠVer i Block Messages . Get Debug VT Bs Request ): ĠVer i Block Messages . Get Debug VT Bs Reply ĊĊĠĠĠ Ġfun Ġping ( ping Request : ĠVer i Block Messages . Ping Request ): ĠVer i Block Messages . Ping Reply ĊĊĠĠĠ Ġfun ĠgetNode Core Sync Status ( getState Info Request : ĠVer i Block Messages . GetState Info Request ): ĠVer i Block Messages . GetState Info Reply ĊĊĠĠĠ Ġfun Ġsubmit Transactions ( submit Transactions Request : ĠVer i Block Messages . Submit Transactions Request ): ĠVer i Block Messages . Protocol Reply ĊĊĠĠĠ Ġfun Ġcreate Alt Chain End orse ment ( alt Chain End orse ment Request : ĠVer i Block Messages . Create Alt Chain End orse ment Request ): ĠVer i Block Messages . Create Alt Chain End orse ment Reply ĊĊĠĠĠ Ġfun Ġshutdown () ĊĊĠĠĠ Ġ// TODO Ġremove Ġon Ġthe Ġnext Ġstep ĊĠĠĠ Ġfun Ġlist Changes Since ( list Blocks Since Request : ĠVer i Block Messages . List Blocks Since Request ): ĠVer i Block Messages . List Blocks Since Reply ĊĠĠĠ Ġfun Ġget Block ( get Blocks Request : ĠVer i Block Messages . Get Blocks Request ): ĠVer i Block Messages . Get Blocks Reply ĊĠĠĠ Ġfun ĠgetLast Block ( getLast Block Request : ĠVer i Block Messages . Get Last Block Request ): ĠVer i Block Messages . Get Last Block Reply Ċ } Ċ