Skip to content

Instantly share code, notes, and snippets.

View akegaviar's full-sized avatar
💭
Chainstacking

Ake akegaviar

💭
Chainstacking
View GitHub Profile
Detection speed comparison:
2025-08-01 16:13:25,941 - INFO - Token | BlockListener | LogsListener | GeyserListener | Fastest
2025-08-01 16:13:25,941 - INFO - --------------------------------------------------------------------------------
2025-08-01 16:13:25,941 - INFO - 4KGpvZmaMH... | N/A | 1754035998.592595 | 1754035998.294089 | GeyserListener
2025-08-01 16:13:25,941 - INFO - Eq9v5uzcVe... | N/A | 1754035989.122697 | 1754035988.443188 | GeyserListener
package com.helloBlock.flows;
import co.paralleluniverse.fibers.Suspendable;
import net.corda.core.flows.*;
import net.corda.core.transactions.SignedTransaction;
@InitiatedBy(helloBlockFlow.class)
public class helloBlockFlowResponder extends FlowLogic<SignedTransaction> {
private FlowSession counterpartySession;
package com.helloBlock.flows;
import com.helloBlock.contracts.helloBlockContract;
import com.helloBlock.states.helloBlockState;
import co.paralleluniverse.fibers.Suspendable;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import net.corda.core.contracts.Command;
import net.corda.core.contracts.StateAndContract;
import net.corda.core.flows.*;
package com.helloBlock.states;
import com.helloBlock.contracts.helloBlockContract;
import com.google.common.collect.ImmutableList;
import net.corda.core.contracts.BelongsToContract;
import net.corda.core.contracts.ContractState;
import net.corda.core.identity.AbstractParty;
import net.corda.core.serialization.ConstructorForDeserialization;
import net.corda.core.serialization.CordaSerializable;
import java.util.List;
package com.helloBlock.contracts;
import net.corda.core.contracts.CommandData;
import net.corda.core.contracts.CommandWithParties;
import net.corda.core.contracts.Contract;
import net.corda.core.contracts.TypeOnlyCommandData;
import net.corda.core.transactions.LedgerTransaction;
import com.helloBlock.states.helloBlockState;
import org.jetbrains.annotations.NotNull;
package com.helloBlock.flows
import com.helloBlock.contracts.helloBlockContract
import com.helloBlock.states.helloBlockState
import co.paralleluniverse.fibers.Suspendable
import net.corda.core.contracts.Command
import net.corda.core.contracts.StateAndContract
import net.corda.core.flows.*
import net.corda.core.identity.Party
import net.corda.core.transactions.SignedTransaction
package com.helloBlock.states
import com.helloBlock.contracts.helloBlockContract
import net.corda.core.contracts.BelongsToContract
import net.corda.core.contracts.ContractState
import net.corda.core.identity.Party
// *********
// * State *
// *********
package com.helloBlock.contracts
import net.corda.core.contracts.*
import net.corda.core.contracts.Requirements.using
import net.corda.core.transactions.LedgerTransaction
import com.helloBlock.states.helloBlockState
// ************
// * Contract *
// ************