Adding marshaller for TransactionOutPoint

This commit is contained in:
Chris Stewart 2015-12-27 19:43:13 -06:00
parent 8906d0b3c3
commit c5ec3d583f

View File

@ -4,8 +4,8 @@ package org.scalacoin.protocol.transaction
* Created by chris on 12/26/15.
*/
trait TransactionOutPoint {
def hash : Seq[String]
def index : Long
def txId : String
def vout : Int
}
case class TransactionOutPointImpl(hash : Seq[String], index : Long) extends TransactionOutPoint
case class TransactionOutPointImpl(txId : String, vout : Int) extends TransactionOutPoint