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
class ClauseParser (val input: ParserInput, val parameters:Map[String,ContractField]) extends Parser with StringBuilding{ | |
val openS = "{{" | |
val closeS = "}}" | |
def clause: Rule1[Clause] = rule { Parameters ~ Text ~ EOI ~> ((parameters, text) => Clause(text, parameters))} | |
def Parameter:Rule1[(String,ContractField)] = rule { | |
ID ~ ':' ~ ID ~> (createParameterPair(_,_)) | |
} |
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
class ClauseParser (val input: ParserInput, val parameters:Map[String,ContractField]) extends Parser with StringBuilding{ | |
val openS = "{{" | |
val closeS = "}}" | |
def clause: Rule1[Clause] = rule { Parameters ~ Text ~ EOI ~> ((parameters, text) => Clause(text, parameters))} | |
def Parameter:Rule1[(String,ContractField)] = rule { | |
ID ~ ':' ~ ID ~> (createParameterPair(_,_)) | |
} |
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
/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/bin/java -ea -Dcom.sun.net.ssl.checkRevocation=false -Didea.launcher.port=7536 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA CE.app/Contents/plugins/junit/lib/junit-rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMach |
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
15:00:00.009 DEBUG [discover] Terminated node connection: NodeHandler[state: Dead, node: 169.44.15.221:30303, id=f1b960af] | |
15:00:00.010 DEBUG [discover] Trying node connection: NodeHandler[state: Dead, node: 52.169.94.142:7171, id=74f053be] | |
15:00:00.012 DEBUG [sync] blockRetrieveLoop: Requesting 192 blocks from Node{ host='54.164.136.57', port=30303, id=0cbd61469dce5c4bc38ddcad3dc2af82967ba9ba7eaebb3d130c1661cee8ba6c55032dcb9c9837f4684bca73e96bee589122c4f80cead559f2448ece4d714841} | |
15:00:00.012 TRACE [sync] Peer 0cbd6146: send GetBlockBodies, hashes.count [192] | |
15:00:00.014 DEBUG [sync] blockRetrieveLoop: Requesting 192 blocks from Node{ host='52.210.161.51', port=30303, id=48e6ccd5fdf57eef5c1fd55dede86288c3db70d12f38e0d0d79a867387e26ec3252f18573cf05d3fac99fbb0c97dc5ab9866cc1330c58e03180b0e4c6a1c6895} | |
15:00:00.014 TRACE [sync] Peer 48e6ccd5: send GetBlockBodies, hashes.count [192] | |
15:00:00.014 DEBUG [sync] Adding new 128 blocks to sync queue: #224920 (02cafc <~ 3c7a34) Txs:54, Unc: 0 ... #224793 (b1e682 |
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
0x30c6738e9a5cc946d6ae1f176dc69fa1663b3b2c |
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
object Hex { | |
def hex2bytes(hex: String): Array[Byte] = { | |
hex.replaceAll("[^0-9A-Fa-f]", "").sliding(2, 2).toArray.map(Integer.parseInt(_, 16).toByte) | |
} | |
def bytes2hex(bytes: Array[Byte], sep: Option[String] = None): String = { | |
sep match { | |
case None => bytes.map("%02x".format(_)).mkString | |
case _ => bytes.map("%02x".format(_)).mkString(sep.get) | |
} |
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
0x30c6738e9a5cc946d6ae1f176dc69fa1663b3b2c |
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
0x0aA7511BA4FE893a3d2D68F295eB052543Df9E9F |
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
class MyClass(text:String) |
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
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
✅ did:3:bafyreicxfob6w6bvdq7tkouj3civhhkkyds57tlglg4dmuydwltf42g7am ✅ | |
Create your profile today to start building social connection and trust online at https://3Box.io/ |
OlderNewer