package org.bitcoinj.quorums;

public class Quorum {

    LLMQParameters llmqParameters;
    FinalCommitment commitment;

    public Quorum(LLMQParameters llmqParameters, FinalCommitment commitment) {
        this.llmqParameters = llmqParameters;
        this.commitment = commitment;
    }

    @Override
    public String toString() {
        return String.format("Quorum(type=%d, quorumHash=%s, qfc=%s)", llmqParameters.type.value, commitment.quorumHash, commitment);
    }
}

@@ -24,16 +24,54 @@
 orums;%0A%0A
+import org.bitcoinj.core.Sha256Hash;%0A%0A
 public c
@@ -507,11 +507,261 @@
 );%0A    %7D
+%0A%0A    public FinalCommitment getCommitment() %7B%0A        return commitment;%0A    %7D%0A%0A    public LLMQParameters getLlmqParameters() %7B%0A        return llmqParameters;%0A    %7D%0A%0A    public Sha256Hash getQuorumHash() %7B%0A        return commitment.quorumHash;%0A    %7D
 %0A%7D%0A

add get methods