Main Menu

October 5 Test Network

Started by bytemaster, October 05, 2015, 02:23:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

boombastic

mr.agsexplorer is updated to latest master

needs to be voted in
[url="http://bitshares.dacplay.org/r/boombastic"]http://bitshares.dacplay.org/r/boombastic[/url]
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

clayop

I'm planning 100 TPS test at 10/9 21:00 (about 4 hours after the next hardfork). Is it reasonable?
Bitshares Korea - [url="http://www.bitshares.kr"]http://www.bitshares.kr[/url]
Vote for me and see Korean Bitshares community grows
delegate-clayop

Fox

Sorry, neglected to post earlier: nodes are updated.
Witness: fox

betax

Quote from: puppies on October 08, 2015, 08:57:52 PM
here is my automatic failover script powered by xerocs python-graphenelib.  I am a noob at teh programming, and if I did anything wrong I would love the feedback.

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys
import json
from grapheneapi import GrapheneWebsocket, GrapheneWebsocketProtocol
import time
import config

rpc = GrapheneWebsocket("localhost", 8092, "", "")
publickeys = config.publickeys
witnessname = config.witnessname


def getmissed(witnessname):
    witness = rpc.get_witness(witnessname)
    missed = witness["total_missed"]
    return missed

missed = getmissed(config.witnessname)


def switch(witnessname, publickeys, missed):
    keynumber = missed % len(publickeys)
    key = publickeys[keynumber]
    rpc.update_witness(witnessname, "", key, "true")
    print("witness down switching to " + key)
print ("Nothing in this window will change unless a block is missed")

while True:
    if missed < getmissed(config.witnessname):
        missed = getmissed(config.witnessname)
        switch(witnessname, publickeys, missed)
    else:
        time.sleep(3)

You need to add two lines to your config.py file.  witnessname as a string and publickeys as strings in a tuple of the public keys you want to switch between.  those lines look like this in my case.

witnessname = "dele-puppy"
publickeys = ("GPH75xxKG4ZeztPpnhmFch99smunUWMvDy9mB6Le497vpAA3XUXaD", "GPH8Sj81ncf8PK5QwJZvhWsvwp6m4bXzTFvp4bKycNNFvHaJpZSnH")


The wallet this script is running through needs to be unlocked, and must contain the owner key (I think its the owner key, rather than the active key) of the witness.

Nice!
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

cube

ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

rnglab

witness updated.

replayed 91924 blocks in 20.7 seconds : )

97.907%   90000 of 91924
3551919ms th_a       db_management.cpp:93          reindex              ] Done reindexing, elapsed time: 20.73896500000000032 sec


@puppies your failover script worked great, instantly switched block production to backup node on first missed block.

Thom

2 quick graphene questions:

1) How do you shutdown cleanly
2) How do you export a wallet for use on another node?

Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: [url="https://bitsharestalk.org/index.php/topic,23902.0.html"]https://bitsharestalk.org/index.php/topic,23902.0.html[/url]

lafona

delegate-1.lafona on latest master and publishing feeds
BTS Witnesses: delegate-1.lafona     Witness Thread: [url="https://bitsharestalk.org/index.php/topic,21569.msg280911/topicseen.html#msg280911"]https://bitsharestalk.org/index.php/topic,21569.msg280911/topicseen.html#msg280911[/url]
MUSE Witness: lafona

Bhuz

Quote from: twitter on October 09, 2015, 12:31:47 AM
Does everyone need to be updated?mine only missed one block since last update

Yes, there will be an hardfork in about 17 hours.

bhuz on latest master, publishing feeds

twitter

Does everyone need to be updated?mine only missed one block since last update
witness:

alt


Spectral

witness spectral is up-to-date
Vote for BTS-2 witness: spectral (1.6.30)
0.9 DVS delegate: dvs1.bitspace
Stay tuned for bitspace-clains worker!

iHashFury

delegate.ihashfury and nodes updated to latest master

running on x64, i686 and ARM

Cubox is still keeping up and publishing price feeds :)

Awesome coding  8)


clayop

delegate-clayop updated to the latest master
Bitshares Korea - [url="http://www.bitshares.kr"]http://www.bitshares.kr[/url]
Vote for me and see Korean Bitshares community grows
delegate-clayop

spartako

spartako and spartako_bot (for witness notification) updated to latest master
wallet_account_set_approval spartako