1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-23 14:40:34 +01:00

Electrum: make debug logs shorter (#964)

This commit is contained in:
Fabrice Drouin 2019-04-24 16:50:25 +02:00 committed by GitHub
parent a87a111c71
commit 595c23c38c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -391,7 +391,9 @@ object ElectrumClient {
}
case class GetHeaders(start_height: Int, count: Int, cp_height: Int = 0) extends Request
case class GetHeadersResponse(start_height: Int, headers: Seq[BlockHeader], max: Int) extends Response
case class GetHeadersResponse(start_height: Int, headers: Seq[BlockHeader], max: Int) extends Response {
override def toString = s"GetHeadersResponse($start_height, ${headers.length}, ${headers.headOption}, ${headers.lastOption}, $max)"
}
case class GetMerkle(txid: ByteVector32, height: Int) extends Request
case class GetMerkleResponse(txid: ByteVector32, merkle: List[ByteVector32], block_height: Int, pos: Int) extends Response {