Pages:
Author

Topic: [TESTNET]Bismuth - New Language, Interpretation Engines, DAPPs - page 28. (Read 49748 times)

newbie
Activity: 7
Merit: 0
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))

legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
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
newbie
Activity: 7
Merit: 0
After receiving the wrong "blockfound_"
(block_height == 0)

"ledger.db" is broken
legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
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
legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
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
legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
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
newbie
Activity: 7
Merit: 0
give me a little bismuth

199a04ab4169547affa627f6b5e689a80e358a2da5dda4eb14aed64a

I want to try
legendary
Activity: 1806
Merit: 1828
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.
legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
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
member
Activity: 102
Merit: 10
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.
legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
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
legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
Looks like an interesting project you have here HCLivess! I'd be happy to give it a try. I assume everyone is running on Windows? Is it possible to run the code on Linux or OSX or is it just Windows for now?
Thanks
You can run python on any OS I believe, but the source is precompiled only for windows
Python is a part of raspberry pi by default
legendary
Activity: 1946
Merit: 1005
My mule don't like people laughing
tx 3596 is missing (3597 got a wrong number)
might have to rework the whole numbering thing, the bugs are unending

Okay, shutting down the node and miner for now.
legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
tx 3596 is missing (3597 got a wrong number)
might have to rework the whole numbering thing, the bugs are unending
syncing from others to get the right numbering order
legendary
Activity: 1382
Merit: 1002
Looks like an interesting project you have here HCLivess! I'd be happy to give it a try. I assume everyone is running on Windows? Is it possible to run the code on Linux or OSX or is it just Windows for now?
hero member
Activity: 980
Merit: 500
Looks interesting!  Will pm you for Slack consideration...
sr. member
Activity: 257
Merit: 250
mining for so so long time but nothing mined only showing as follow

(60) Mempool: Reward status: Mined for this segm
t is 50 blocks long. You need to wait for those 50 blocks
is available again. The miner will resume automatically.
hero member
Activity: 630
Merit: 500
Yeah this coin looks pretty good, well put together nice ANN and miner and everything, I'll keep an eye on this one.
hero member
Activity: 708
Merit: 500
uno testo transactiono pleaso ? bd3681faa4b0f647416f9f649a1b6a883fb80c213088c655a945a871
legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
miner up and running

if this is you c12b77c620e0079591609a3dffe61cad3d8b9e2dc1a5cc1534595ddd
I see you mined 75 Smiley
btw is anyone having sync issues still? mine seem fixed
Pages:
Jump to: