This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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:: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |