Bitcoin Forum
May 05, 2024, 07:36:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Poll
Question: Bismuth and Clarity
Create two independent systems - 2 (22.2%)
Dev rewards like Dash and ZCASH, one system - 7 (77.8%)
Total Voters: 9

Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 »
  Print  
Author Topic: [TESTNET]Bismuth - New Language, Interpretation Engines, DAPPs  (Read 49699 times)
HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
July 06, 2016, 09:47:24 PM
Last edit: July 06, 2016, 10:16:55 PM by HCLivess
 #161

OK, I added an exclusive mode on every network function which uses the database, let's see how that works

New release + mining should be available again (or soon)
https://github.com/hclivess/Bismuth/releases/tag/0.83
issues mainly concern(ed) active nodes (me)

This might be the last attempt before reworking the whole thing into two separate lockable mempools, which might impact performance

It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Qbanow
Member
**
Offline Offline

Activity: 102
Merit: 10


View Profile
July 07, 2016, 06:12:22 AM
 #162

Hi, interesting project. Could someone send me a few coins to this wallet: f1f1594aafa9ebda5e1e0aa09af8d0d3ff324ea793c0d1d87bcd28d2  I would like to play with mining option. Thanks in advance. I'll stay around getting fresh news and giving support to the testnet.
HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
July 07, 2016, 03:27:11 PM
Last edit: July 07, 2016, 03:58:52 PM by HCLivess
 #163

I can see two mining attempts which were rejected due to chain reorganization



or perhaps these are normal transactions Smiley

so far no sync issues here

sent 10k to f1f1594aafa9ebda5e1e0aa09af8d0d3ff324ea793c0d1d87bcd28d2  

also i decreased the network spamming, bacause that was way too much, fee expenses were 0.06/30s, that is 0.002 bismuth per second, 0.12 bismuth per minute, 7.2 bismuth per hour
might be a little too little

bones261
Legendary
*
Offline Offline

Activity: 1806
Merit: 1827



View Profile
July 07, 2016, 11:24:09 PM
Last edit: July 08, 2016, 01:33:49 PM by bones261
 #164

I can see two mining attempts which were rejected due to chain reorganization



or perhaps these are normal transactions Smiley

so far no sync issues here

sent 10k to f1f1594aafa9ebda5e1e0aa09af8d0d3ff324ea793c0d1d87bcd28d2 

also i decreased the network spamming, bacause that was way too much, fee expenses were 0.06/30s, that is 0.002 bismuth per second, 0.12 bismuth per minute, 7.2 bismuth per hour
might be a little too little

That would have been me doing the mining attempts. Am I doing something wrong? I also think that I was the one that sent the missing transaction and mined the block in the previous post you made about network problems.
Bangc
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
July 08, 2016, 12:41:53 PM
 #165

give me a little bismuth

199a04ab4169547affa627f6b5e689a80e358a2da5dda4eb14aed64a

I want to try
HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
July 08, 2016, 01:42:29 PM
Last edit: July 08, 2016, 01:57:44 PM by HCLivess
 #166

I can see two mining attempts which were rejected due to chain reorganization



or perhaps these are normal transactions Smiley

so far no sync issues here

sent 10k to f1f1594aafa9ebda5e1e0aa09af8d0d3ff324ea793c0d1d87bcd28d2  

also i decreased the network spamming, bacause that was way too much, fee expenses were 0.06/30s, that is 0.002 bismuth per second, 0.12 bismuth per minute, 7.2 bismuth per hour
might be a little too little

That would have been me doing the mining attempts. Am I doing something wrong? I also think that I was the one that sent the missing transaction and mined the block in the previous post you made about network problems.

Nothing wrong I assume, but we might be making too many blocks in too little time (this is expected with instant transactions). There was only one node fully synced to me (at one time), it disconnected, and then I arbitrarily deleted half of my blockchain to test if syncing works properly now (then sent some new txs to it), so your transactions got resubmitted from shorter to longer chain, but in a different order now. I will let Bismuth do it's thing now without abruptions for some time to see if the sync finally works or not Smiley

In short, there was a day-long fork due to testing

HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
July 08, 2016, 01:45:34 PM
 #167

give me a little bismuth

199a04ab4169547affa627f6b5e689a80e358a2da5dda4eb14aed64a

I want to try

Please make sure you have your address submitted to https://docs.google.com/forms/d/1-zNSIyQ3lKoN5IlraQKZ7tEfhk6HduSVwuyLev0gOLk
I will be sending to those addresses regularly. Mind you this is testnet, so if you create a new account just to receive coins, you will not achieve any self-enrichment

HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
July 09, 2016, 03:41:55 PM
 #168

Here are the latest mining rewards, the blockchain still holds stable and solid



I see someone modified the miner not to send any bismuth when mining, well done  Wink
although the fee is calculated independently

Bangc
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
July 11, 2016, 08:45:44 AM
 #169

After receiving the wrong "blockfound_"
(block_height == 0)

"ledger.db" is broken
HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
July 11, 2016, 08:49:53 AM
 #170

After receiving the wrong "blockfound_"
(block_height == 0)

"ledger.db" is broken

Thanks, never seen this issue before, what version are you running?
Do you have a log entry for that, please? And a copy of your blockchain if possible
I would love to know if you received it from my node, but it must be since there are no other nodes
I am still patiently waiting for someone to do the rollback hack before I fix it

Bangc
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
July 11, 2016, 09:09:55 AM
 #171

After receiving the wrong "blockfound_"
(block_height == 0)

"ledger.db" is broken

Thanks, never seen this issue before, what version are you running?
Do you have a log entry for that, please? And a copy of your blockchain if possible
I would love to know if you received it from my node, but it must be since there are no other nodes
I am still patiently waiting for someone to do the rollback hack before I fix it


from My TestCode
Quote
import hashlib
import sqlite3
import socket
import time
import base64
from Crypto.PublicKey import RSA
from Crypto.Signature import PKCS1_v1_5
from Crypto.Hash import SHA

# import keys
key = RSA.importKey(open('privkey.der').read())
public_key = key.publickey()
private_key_readable = str(key.exportKey())
public_key_readable = str(key.publickey().exportKey())
address = hashlib.sha224(public_key_readable).hexdigest()

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
#s.settimeout(1)
s.connect(("0.0.0.0", int("2829")))
print "Connected"

#enter transaction start
conn = sqlite3.connect('ledger.db')
c = conn.cursor()

apiKey = 'blockfound_'
makeTimeStamp = 2.00
makeFromAddress = 'genesis'
makeToAddress = '07fb3a0e702f0eec167f1fd7ad094dcb8bdd398c91999d59e4dcb475'
makeAmount = 1.1
makefee = 1.0
reward = 0

transaction = str(makeTimeStamp) + ":" + str(makeFromAddress) +":" + str(makeToAddress) +":"+ str(makeAmount)

h = SHA.new(transaction)
signer = PKCS1_v1_5.new(key)
signature = signer.sign(h)
signature_enc = base64.b64encode(signature)
print "Client: Encoded Signature: "+str(signature_enc)


txhash_new = hashlib.sha224(str(transaction) + str(signature_enc) + str('BangC')).hexdigest()

c.execute("INSERT INTO transactions VALUES ('" + str(0) + "','" + str(
   makeTimeStamp) + "','" + str(makeFromAddress) + "','" + str(makeToAddress) + "','" + str(
   float(makeAmount)) + "','" + str(signature_enc) + "','" + str(
   public_key_readable) + "','" + str(txhash_new) + "','" + str(makefee) + "','" + str(
   reward) + "')")
c.execute("SELECT * FROM transactions WHERE block_height='" + str(
   0) + "'")
txhash_send = c.fetchone()
c.execute("delete FROM transactions WHERE block_height ='"  + str(0) + "'")

conn.commit()
conn.close()

s.sendall(apiKey)
time.sleep(0.1)
txhash_len = len(str(txhash_send))
while len(str(txhash_len)) != 10:
   txhash_len = "0" + str(txhash_len)
s.sendall(str(txhash_len))
time.sleep(0.1)
s.sendall(str(txhash_send))

ecawyna
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


🌟 æternity🌟 blockchain🌟


View Profile
July 11, 2016, 09:35:29 AM
 #172

nice logo. very alienish.  Grin


        ▄▄█████████▄                    ▄▄████████▄▄
     ▄█████████████████▄             ▄████████████████▄
   █████            ▀█████        ▄█████            █████
  ████                 █████    █████                 ████
 ███                    ▀████    ██                     ███
▐███                      █████                         ▐███
███▌                        ████           ▐████████████████
▐███                         ▀████          ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
 ████                   ██▄    █████                    ▄▄▄
  ████                ██████    ▀████▄                ▄███
   ▀█████          ███████        ▀█████▄          ▄████▀
      █████████████████              ▀████████████████▀
         ▀▀██████▀▀                      ▀▀██████▀▀
  æ t e r n i t y
  The Oracle Machine
          ██
      ▄██ ██ ██▄
     ▐██  ██  ██
     ▐██      ██
     ▐██  ▄▄  ██
     ▐██▄▐██ ▄██
       ▀▀▐██ ▀▀
      ▄▄▌▐██ █▄
     ▐██ ▐██ ▀██
     ▐█▌  ▀▀  ██
     ▐██     ▐██
     ▐██ ▐██ ▄██
      ▀█ ▐██ █▀
         ▐██
✅ Unchained Smart Contracts
✅ Decentralized Oracle
✅ Turing-Complete
✅ State-Channels
✅ Infinitly Scalable
     ██
 ▄██ ██ ██▄
▐██  ██  ██
▐██      ██
▐██  ▄▄  ██
▐██▄▐██ ▄██
  ▀▀▐██ ▀▀
 ▄▄▌▐██ █▄
▐██ ▐██ ▀██
▐█▌  ▀▀  ██
▐██     ▐██
▐██ ▐██ ▄██
 ▀█ ▐██ █▀
    ▐██
[ WHITEPAPER]                     ██
                   ▄██▌
                  ████
                ▄█████
              ▄██████▌
             ████████
           ▄█████████   ▄▄▄▄
          █████████████████▀
        ▄████████████████▀
       ██▀▀▀▀▀ █████████
              ▐███████▀
              ██████▀
              █████▀
             ▐███▀
             ███
             █▀
(en)Lightning
Smart Contracts
|TESTNET|
HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
July 11, 2016, 09:42:56 AM
 #173

After receiving the wrong "blockfound_"
(block_height == 0)

"ledger.db" is broken

Thanks, never seen this issue before, what version are you running?
Do you have a log entry for that, please? And a copy of your blockchain if possible
I would love to know if you received it from my node, but it must be since there are no other nodes
I am still patiently waiting for someone to do the rollback hack before I fix it


from My TestCode
Quote
import hashlib
import sqlite3
import socket
import time
import base64
from Crypto.PublicKey import RSA
from Crypto.Signature import PKCS1_v1_5
from Crypto.Hash import SHA

# import keys
key = RSA.importKey(open('privkey.der').read())
public_key = key.publickey()
private_key_readable = str(key.exportKey())
public_key_readable = str(key.publickey().exportKey())
address = hashlib.sha224(public_key_readable).hexdigest()

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
#s.settimeout(1)
s.connect(("0.0.0.0", int("2829")))
print "Connected"

#enter transaction start
conn = sqlite3.connect('ledger.db')
c = conn.cursor()

apiKey = 'blockfound_'
makeTimeStamp = 2.00
makeFromAddress = 'genesis'
makeToAddress = '07fb3a0e702f0eec167f1fd7ad094dcb8bdd398c91999d59e4dcb475'
makeAmount = 1.1
makefee = 1.0
reward = 0

transaction = str(makeTimeStamp) + ":" + str(makeFromAddress) +":" + str(makeToAddress) +":"+ str(makeAmount)

h = SHA.new(transaction)
signer = PKCS1_v1_5.new(key)
signature = signer.sign(h)
signature_enc = base64.b64encode(signature)
print "Client: Encoded Signature: "+str(signature_enc)


txhash_new = hashlib.sha224(str(transaction) + str(signature_enc) + str('BangC')).hexdigest()

c.execute("INSERT INTO transactions VALUES ('" + str(0) + "','" + str(
   makeTimeStamp) + "','" + str(makeFromAddress) + "','" + str(makeToAddress) + "','" + str(
   float(makeAmount)) + "','" + str(signature_enc) + "','" + str(
   public_key_readable) + "','" + str(txhash_new) + "','" + str(makefee) + "','" + str(
   reward) + "')")
c.execute("SELECT * FROM transactions WHERE block_height='" + str(
   0) + "'")
txhash_send = c.fetchone()
c.execute("delete FROM transactions WHERE block_height ='"  + str(0) + "'")

conn.commit()
conn.close()

s.sendall(apiKey)
time.sleep(0.1)
txhash_len = len(str(txhash_send))
while len(str(txhash_len)) != 10:
   txhash_len = "0" + str(txhash_len)
s.sendall(str(txhash_len))
time.sleep(0.1)
s.sendall(str(txhash_send))


Did not know you were using a custom code implementation, interesting.
I would love to know whether this code breaks only your node or if it breaks other nodes if you use it to communicate with them. Unfortunately, there is nothing we can do on the client-side to prevent ledger from breaking, that all goes to what operations you decide to perform on the database. However, there could be some recovery features later on - for now the only fix is to resync the ledger from the installation (and back it up if you do experiments)

HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
July 11, 2016, 09:43:41 AM
 #174

nice logo. very alienish.  Grin

Thanks, that is a medieval chemical logo with Bismuth as the actual background overlay Wink

HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
July 11, 2016, 09:46:12 AM
 #175

Could we get a cooperated mining + spamming operation?  Smiley
In an attempt to break the network


HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
July 11, 2016, 11:33:45 PM
Last edit: July 12, 2016, 12:04:52 AM by HCLivess
 #176

blockchain broken again  Huh one tx missing, ill check what went wrong
EDIT: unified mempool lock handling (pushed, unreleased)

EDIT: I would like to thank the two active (open port) nodes for participating in the testnet, very much appreciated

Bangc
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
July 13, 2016, 02:49:09 AM
 #177

Not synchronized since 6225
HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
July 13, 2016, 10:38:26 AM
Last edit: July 13, 2016, 11:07:38 AM by HCLivess
 #178

Not synchronized since 6225

Thanks, my node might be actually down at the moment. I will check from home -> OK, so somehow I send 6226, but it is not added to your blockchain. Might be a db issue (similar to what used to happen to me). You can either send me the blockchain or see for yourself if the numbers align using "DB Browser for SQLite". Also please make sure your ledger.db is not locked for writing.


Found the issue: The transaction you did not receive has an invalid signature according to client.
I will check, not sure how it would spread though... Must be some float conversion mess

Also, I have decided there will be NO ICO for Bismuth, based on feedback. However, I may release a fork of Bismuth in the future, which will be ICO for an enterprise version of Bismuth (older stable version), a model similar to that of Fedora and RedHat

HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
July 13, 2016, 12:08:06 PM
 #179

Looks like signature verification was weak in several places, will release a hotfix soon

duts_bg
Full Member
***
Offline Offline

Activity: 167
Merit: 100


View Profile
July 13, 2016, 09:19:52 PM
 #180

Is there a user friendly documentation on how to mine on testnet in windows?

SHIFT is a distributed P2P network that incentivizes decentralization for secure content publishing and storage.
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!