You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
841 B

package com.xsn.explorer.helpers
import com.alexitc.playsonify.core.FutureApplicationResult
import com.xsn.explorer.models._
import com.xsn.explorer.models.rpc.{AddressBalance, Block, ServerStatistics, Transaction}
import com.xsn.explorer.services.XSNService
class DummyXSNService extends XSNService {
override def getTransaction(txid: TransactionId): FutureApplicationResult[Transaction] = ???
override def getAddressBalance(address: Address): FutureApplicationResult[AddressBalance] = ???
override def getTransactions(address: Address): FutureApplicationResult[List[TransactionId]] = ???
override def getBlock(blockhash: Blockhash): FutureApplicationResult[Block] = ???
override def getLatestBlock(): FutureApplicationResult[Block] = ???
override def getServerStatistics(): FutureApplicationResult[ServerStatistics] = ???
}