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
#!/usr/bin/python | |
# -*- coding:utf-8 -*- | |
import sys | |
import os | |
picdir = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'pic') | |
libdir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'lib') | |
if os.path.exists(libdir): | |
sys.path.append(libdir) | |
import logging |
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
#!/bin/sh | |
# Copyright 2012 The Go Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style | |
# license that can be found in the LICENSE file. | |
# git gofmt pre-commit hook | |
# | |
# To use, store as .git/hooks/pre-commit inside your repository and make sure | |
# it has execute permissions. | |
# | |
# This script does not handle file names that contain spaces. |
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
#!/usr/bin/env sh | |
torsocks curl -X POST \ | |
--data-binary '{"jsonrpc": "2.0", "id": 0, "method": "current-minute"}' \ | |
-H 'content-type:text/plain;' http://mainnetp24u4y4vsuvspeotbhpnmupmpnwfjzmfzfyuvstuqs572buqd.onion/v2 |
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
package pubsub_test | |
import ( | |
"github.com/FactomProject/factomd/common/constants" | |
"github.com/FactomProject/factomd/common/interfaces" | |
"github.com/FactomProject/factomd/common/messages" | |
. "github.com/FactomProject/factomd/pubsub" | |
"testing" | |
"time" | |
) |
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
package log | |
import ( | |
"context" | |
"fmt" | |
"io" | |
opentracing "github.com/opentracing/opentracing-go" | |
jaeger "github.com/uber/jaeger-client-go" | |
config "github.com/uber/jaeger-client-go/config" |
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
Writing ByteMap Table | |
Finished Reading ByteMap Table. Total time taken: 26m23.939530035s | |
Hash Init = fafaececfafaecec, 30, 256, 5 | |
CPU = ARMv8 Processor rev 1 (v8l) | |
Cores = 4 | |
Total RAM = 3956 MB | |
OS = linux | |
Platform = ubuntu | |
===================================== | |
Running 60 second test with 1 miners: 59s |
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
package simtest | |
import ( | |
"testing" | |
"github.com/FactomProject/factomd/engine" | |
. "github.com/FactomProject/factomd/testHelper" | |
) |
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
package simtest | |
import ( | |
"testing" | |
"github.com/FactomProject/factomd/engine" | |
. "github.com/FactomProject/factomd/testHelper" | |
) |
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
$gpg --keyserver hkps://hkps.pool.sks-keyservers.net --search-keys myork@stackdump.com | |
gpg: data source: https://37.191.231.105:443 | |
(1) Matt York <myork@stackdump.com> | |
4096 bit RSA key 1E2712ADE27B0F06, created: 2019-05-20, expires: 2021-05-19 | |
(2) Matthew York <myork@stackdump.com> | |
4096 bit RSA key 893A752AAF70426D, created: 2013-11-18 | |
(3) Matthew York <myork@stackdump.com> | |
1024 bit RSA key 6DF7AE7C47B0B44B, created: 2013-11-16, expires: 2014-11-15 (revoked) (expired) |
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
From e387b124a960f9d840d249a679be7a2a16bff261 Mon Sep 17 00:00:00 2001 | |
From: stackdump <myork@stackdump.com> | |
Date: Mon, 5 Aug 2019 13:17:13 -0500 | |
Subject: [PATCH] added test to sync accross net | |
--- | |
peerTest/NetSyncA_test.go | 35 +++++++++++++++++++++++++++++++++++ | |
peerTest/NetSyncB_test.go | 37 +++++++++++++++++++++++++++++++++++++ | |
2 files changed, 72 insertions(+) | |
create mode 100644 peerTest/NetSyncA_test.go |