mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-20 10:13:26 +01:00
Adding marshaller for TransactionOutPoint
This commit is contained in:
parent
8906d0b3c3
commit
c5ec3d583f
@ -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
|
Loading…
Reference in New Issue
Block a user