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 pywaves as pw | |
import time | |
pw.setNode('https://apitnetworktest.blackturtle.eu','Turtle Network','l') | |
block = pw.lastblock() | |
addr = pw.Address(seed='seeeeeeeeedddddd heeeeeerrrrreeeeeeee') | |
while True: | |
try: | |
while block['height'] == pw.lastblock()['height']: | |
time.sleep(2) |
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
# TN node settings in HOCON | |
# HOCON specification: https://github.com/lightbend/config/blob/master/HOCON.md | |
TN { | |
# Node base directory | |
directory = ${user.home}"/TN-testnet" | |
data-directory = ${TN.directory}"/data" | |
leveldb-cache-size = 256M | |
blockchain { | |
type: CUSTOM | |
custom { |
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
[info] ClientSpec: | |
2018-06-06 13:04:01,066 TRACE [ning-ClientSpec] c.w.n.HandshakeTimeoutHandler - [embedded embedded] Scheduling handshake timeout, timeout = 1 minute | |
2018-06-06 13:04:01,071 TRACE [time-impl-497] scorex.utils.TimeImpl - Adjusting time with 0 milliseconds. | |
[info] - should send only a local handshake on connection (23 milliseconds) | |
2018-06-06 13:04:01,090 TRACE [ning-ClientSpec] c.w.n.HandshakeTimeoutHandler - [embedded embedded] Scheduling handshake timeout, timeout = 1 minute | |
[info] - should add a server's channel to all channels after the handshake only *** FAILED *** (49 milliseconds) | |
[info] false was not equal to true (ClientSpec.scala:53) | |
[info] org.scalatest.exceptions.TestFailedException: | |
[info] at org.scalatest.MatchersHelper$.indicateFailure(MatchersHelper.scala:340) | |
[info] at org.scalatest.Matchers$AnyShouldWrapper.shouldBe(Matchers.scala:6864) |