Skip to content

Instantly share code, notes, and snippets.

; Inspired from https://gist.github.com/sedm0784/4443120
#Requires AutoHotkey v2.0
#SingleInstance Force
global g_LastCtrlKeyDownTime := 0
global g_AbortSendEsc := false
global g_ControlRepeatDetected := false
*CapsLock:: {
@108anup
108anup / TxHandler.java
Created December 31, 2016 07:36
Bitcoin and Cryptocurrency Technologies - Assignment 1
import java.util.HashSet;
import java.util.ArrayList;
public class TxHandler {
private UTXOPool utxoPool;
/**
* Creates a public ledger whose current UTXOPool (collection of unspent transaction outputs) is
* {@code utxoPool}. This should make a copy of utxoPool by using the UTXOPool(UTXOPool uPool)