Pages:
Author

Topic: Masterchest Wallet Alpha Testing Thread - page 6. (Read 13391 times)

sr. member
Activity: 266
Merit: 250
March 06, 2014, 07:23:48 PM
#53
Code:
http://chart.googleapis.com/chart?cht=lc&chd=t0:0,0001,0,0001,0,0001,0,0001,0,001,0,001,0,001,0,01,4,94E-06,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,20000037,0,20000037,0,20000037,0,20000037,0,0002,0,003,0,02231932,0,4954955,0,4954955,0,001,0,01|0,0,0,0,0,0,001,0,001,0,001,0,011,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,0,20000037,0,20000037,0,20000037,0,20000037,0,0002,0,0002,0,4954955,0,4954955,0,4954955,0,001|0,0,0,0,0,001,0,001,0,001,0,011,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,0,20000037,0,20000037,0,20000037,0,20000037,0,0002,0,0002,0,4954955,0,4954955,0,4954955,0,001,0,01|0,0001,0,0001,0,0001,0,0001,0,001,0,001,0,001,0,011,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,20000037,0,20000037,0,20000037,0,20000037,0,003,0,003,0,4954955,0,4954955,0,4954955,0,001,0,01&chm=F,,0,-1,10&chs=426x205&chf=bg,s,252526&chxt=x,y&chds=0,0,54504505&chxr=1,0,0,54504505&chxs=1N*F4*,D1D1D1,11,0,lt|0,D1D1D1,11,0,lt&chxl=0:|07.01|11.01|17.01|23.01|29.01|04.02|10.02|16.02|22.02|28.02|06.03

The chart looks like this here, too, but is actually green-white, instead of green-black.
Great, thanks - I'll see if I can make out what this data is doing.

Re white/black, yeah I couldn't find a way to do that with the chart API and have it look right so I just flip those bits once I've pulled the chart into the buffer:
Code:
 'flip black pixels to white to make up for charts api colour control
        For y As Integer = 0 To gcimg.Height - 1
            For x As Integer = 0 To gcimg.Width - 1
                Dim clr As Color = gcimg.GetPixel(x, y)
                If (CInt(clr.R) + clr.G + clr.B) < 50 Then
                    gcimg.SetPixel(x, y, Color.White)
                End If
                If x > 1 And x < 21 And y > 174 And y < 189 Then
                    gcimg.SetPixel(x, y, Color.FromArgb(37, 37, 38))
                End If
            Next x
        Next y
legendary
Activity: 1106
Merit: 1026
March 06, 2014, 07:13:31 PM
#52
Code:
http://chart.googleapis.com/chart?cht=lc&chd=t0:0,0001,0,0001,0,0001,0,0001,0,001,0,001,0,001,0,01,4,94E-06,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,20000037,0,20000037,0,20000037,0,20000037,0,0002,0,003,0,02231932,0,4954955,0,4954955,0,001,0,01|0,0,0,0,0,0,001,0,001,0,001,0,011,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,0,20000037,0,20000037,0,20000037,0,20000037,0,0002,0,0002,0,4954955,0,4954955,0,4954955,0,001|0,0,0,0,0,001,0,001,0,001,0,011,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,1E-05,0,20000037,0,20000037,0,20000037,0,20000037,0,0002,0,0002,0,4954955,0,4954955,0,4954955,0,001,0,01|0,0001,0,0001,0,0001,0,0001,0,001,0,001,0,001,0,011,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,01,0,20000037,0,20000037,0,20000037,0,20000037,0,003,0,003,0,4954955,0,4954955,0,4954955,0,001,0,01&chm=F,,0,-1,10&chs=426x205&chf=bg,s,252526&chxt=x,y&chds=0,0,54504505&chxr=1,0,0,54504505&chxs=1N*F4*,D1D1D1,11,0,lt|0,D1D1D1,11,0,lt&chxl=0:|07.01|11.01|17.01|23.01|29.01|04.02|10.02|16.02|22.02|28.02|06.03

The chart looks like this here, too, but is actually green-white, instead of green-black.
sr. member
Activity: 266
Merit: 250
legendary
Activity: 1106
Merit: 1026
March 06, 2014, 06:49:31 PM
#50
Ah, this is the image I posted: http://i.imgur.com/7vCCECd.png

Yea, sure.
sr. member
Activity: 266
Merit: 250
March 06, 2014, 06:20:27 PM
#49
Thanks - I'll have a look at these issues.  I'm wondering if perhaps something is not working well with my handling of localization, I noticed the chart - should look like this as of this moment:



EDIT: Image proxy seems to not want to show the image - the chart should look like the image in the OP.  I use Google for charting until a later date when I'll shift to doing it internally.  DexX - if I ping you a custom build that gives you the chart creation URL are you OK to run it and shoot me the URL it generates?

Thanks
Zathras
legendary
Activity: 1106
Merit: 1026
March 06, 2014, 05:32:38 PM
#48
Perfect, works fine now.

Edit: I really like the design. Smiley

You may check out the colored areas, those are the transactions from the other thread (link). I have no clear overview right now though, due to the mix of many transactions inbetween and afterwards. Note to myself: start with a clean wallet next time.



Side note: It would be awesome, if a right click on a transaction would allow to copy the transaction id.
sr. member
Activity: 266
Merit: 250
March 06, 2014, 05:22:36 PM
#47

Great, thanks - that's pointed me to a bug with update integer math - committed a fix (hopefully).

Thanks
Zathras
legendary
Activity: 1106
Merit: 1026
sr. member
Activity: 266
Merit: 250
March 06, 2014, 04:54:33 PM
#45
Let's go! Wink

Quote
DEBUG: SQL INSERT INTO processedblocks VALUES (289247,1394137090)
DEBUG: Block Analysis for: 289248
DEBUG: SQL INSERT INTO processedblocks VALUES (289248,1394136834)
DEBUG: Block Analysis for: 289249
DEBUG: SQL INSERT INTO processedblocks VALUES (289249,1394137433)
DEBUG: Block Analysis for: 289250
DEBUG: SQL INSERT INTO processedblocks VALUES (289250,1394140038)
DEBUG: Block Analysis for pending transactions
BLOCKSCAN: Transaction processing starting...
DEBUG: SQL SELECT MAX(BLOCKTIME) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
ERROR: Blockchain scanning thread threw exception : Fehler beim Analysieren der Abfrage. [ Token line number = 1,Token line offset = 220,Token in error = 33333333 ]
DEBUG: Thread exited with error condition.

Oh dear - now that's not a good start.  Let me take a look...

I've committed an update (including binary) which massively increases the amount of debug info generated.  Can you run this again (in debug level med/high) and then provide the last 20 or so lines from the debug panel?

Thanks Smiley
Zathras
sr. member
Activity: 266
Merit: 250
March 06, 2014, 04:39:49 PM
#44
Let's go! Wink

Quote
DEBUG: SQL INSERT INTO processedblocks VALUES (289247,1394137090)
DEBUG: Block Analysis for: 289248
DEBUG: SQL INSERT INTO processedblocks VALUES (289248,1394136834)
DEBUG: Block Analysis for: 289249
DEBUG: SQL INSERT INTO processedblocks VALUES (289249,1394137433)
DEBUG: Block Analysis for: 289250
DEBUG: SQL INSERT INTO processedblocks VALUES (289250,1394140038)
DEBUG: Block Analysis for pending transactions
BLOCKSCAN: Transaction processing starting...
DEBUG: SQL SELECT MAX(BLOCKTIME) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
ERROR: Blockchain scanning thread threw exception : Fehler beim Analysieren der Abfrage. [ Token line number = 1,Token line offset = 220,Token in error = 33333333 ]
DEBUG: Thread exited with error condition.

Oh dear - now that's not a good start.  Let me take a look...
legendary
Activity: 1106
Merit: 1026
March 06, 2014, 04:19:02 PM
#43
Let's go! Wink

Quote
DEBUG: SQL INSERT INTO processedblocks VALUES (289247,1394137090)
DEBUG: Block Analysis for: 289248
DEBUG: SQL INSERT INTO processedblocks VALUES (289248,1394136834)
DEBUG: Block Analysis for: 289249
DEBUG: SQL INSERT INTO processedblocks VALUES (289249,1394137433)
DEBUG: Block Analysis for: 289250
DEBUG: SQL INSERT INTO processedblocks VALUES (289250,1394140038)
DEBUG: Block Analysis for pending transactions
BLOCKSCAN: Transaction processing starting...
DEBUG: SQL SELECT MAX(BLOCKTIME) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
DEBUG: SQL SELECT MAX(BLOCKNUM) FROM processedblocks
ERROR: Blockchain scanning thread threw exception : Fehler beim Analysieren der Abfrage. [ Token line number = 1,Token line offset = 220,Token in error = 33333333 ]
DEBUG: Thread exited with error condition.
sr. member
Activity: 266
Merit: 250
March 06, 2014, 03:43:54 PM
#42
First DEx alpha is up - OP updated Smiley
newbie
Activity: 18
Merit: 0
March 05, 2014, 10:21:17 PM
#41
wow,great,I have been looking forward to p2p exchange so long. Now it's come true at last,I'm so excited. It's great things in cryptocurrency market.
sr. member
Activity: 266
Merit: 250
March 05, 2014, 06:17:13 PM
#40
Tried to get it working but stumbled upon some hurdles:
I've got some error messages on start because it couldn't find my username/passwort etc. Found out that preceding spaces (in front of the line) in the bitcoin-qt config file were the source of the error.
Next i got some errors because i forgot to start bitcoint-qt which isn't that much of a problem but, the text in the messages seems strange: "Exception thrown getting block hash: der Wert darf nicht NULL sein. Parametername: value". Shouldn't there a real value instead of the word 'value' be written? Or is the punctuation out of order? Anyway it is kind of confusing.

I also noticed it take quite a while for it to synchronize, it would be helpfull i there would be something like a progressbar to get a sense of how long it takes.

Thanks for testing Smiley

I hope to be able to spend some time trapping errors a little better.  Part of the sanity checks involve checking for an expected return value to a particular blockhash to further sanity check we're talking with a bitcoin RPC server on a valid blockchain.  That error gets thrown when we don't get the expected value back (in this case because bitcoin wasn't running).  The code shouldn't actually get that far - it should terminate when there is no connection to bitcoin available, I'll double check the exit code there.

Thanks!
Zathras
sr. member
Activity: 266
Merit: 250
March 05, 2014, 06:13:31 PM
#39
newbie
Activity: 6
Merit: 0
March 04, 2014, 09:19:14 AM
#38
Tried to get it working but stumbled upon some hurdles:
I've got some error messages on start because it couldn't find my username/passwort etc. Found out that preceding spaces (in front of the line) in the bitcoin-qt config file were the source of the error.
Next i got some errors because i forgot to start bitcoint-qt which isn't that much of a problem but, the text in the messages seems strange: "Exception thrown getting block hash: der Wert darf nicht NULL sein. Parametername: value". Shouldn't there a real value instead of the word 'value' be written? Or is the punctuation out of order? Anyway it is kind of confusing.

I also noticed it take quite a while for it to synchronize, it would be helpfull i there would be something like a progressbar to get a sense of how long it takes.
newbie
Activity: 34
Merit: 0
March 03, 2014, 02:49:38 PM
#37
I successfully did a TMSC send with the wallet, but something is wrong - I had 0.418 TMSC before and sent 0.018.
The wallet shows the right balance afterwards(0.4), but masterchest and masterchain show 0.297 .
Is it because of open sellorders? I've never cancelled them I think.
Here is the log:
Code:
Recipient address is valid.
Raw transaction hex:
0100000001060c0a8e198b835bb18304fa8d19c08c52375f6bb63d25f998a61dc7c43d77fe0000000000ffffffff0450f00000000000001976a9142543163c517c4a59b2f4f6dd19a09d21c0093be288ac70170000000000001976a914946cb2e08075bcbaf157e47bcb67eb2b2339d24288ac70170000000000001976a9143c66ad4a06411af4e5a0d9f34e244969bee3adb088ace02e000000000000475121022b733322d7e855766a5bc4ad8f9707115980095d60d4ac138d507319702aa54321029B07F670D5FC1B4E93BE50BF51499F3C967BBD8BC133E1D012DDE615A2383B2652ae00000000
Raw transaction decode:
{"result":{"txid":"9d62eeb6588cb982bf4712ac35f55af69cb739f9e1ad270b25592d069b9206b9","version":1,"locktime":0,"vin":[{"txid":"fe773dc4c71da698f9253db66b5f37528cc0198dfa0483b15b838b198e0a0c06","vout":0,"scriptSig":{"asm":"","hex":""},"sequence":4294967295}],"vout":[{"value":0.00061520,"n":0,"scriptPubKey":{"asm":"OP_DUP OP_HASH160 2543163c517c4a59b2f4f6dd19a09d21c0093be2 OP_EQUALVERIFY OP_CHECKSIG","hex":"76a9142543163c517c4a59b2f4f6dd19a09d21c0093be288ac","reqSigs":1,"type":"pubkeyhash","addresses":["14Q2NNiF5YzDZCjo7vrBuHdbZcmHRJyW3j"]}},{"value":0.00006000,"n":1,"scriptPubKey":{"asm":"OP_DUP OP_HASH160 946cb2e08075bcbaf157e47bcb67eb2b2339d242 OP_EQUALVERIFY OP_CHECKSIG","hex":"76a914946cb2e08075bcbaf157e47bcb67eb2b2339d24288ac","reqSigs":1,"type":"pubkeyhash","addresses":["1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P"]}},{"value":0.00006000,"n":2,"scriptPubKey":{"asm":"OP_DUP OP_HASH160 3c66ad4a06411af4e5a0d9f34e244969bee3adb0 OP_EQUALVERIFY OP_CHECKSIG","hex":"76a9143c66ad4a06411af4e5a0d9f34e244969bee3adb088ac","reqSigs":1,"type":"pubkeyhash","addresses":["16WNYdM4whfD9gV3shX35rmHqbYzTJ6xEG"]}},{"value":0.00012000,"n":3,"scriptPubKey":{"asm":"1 022b733322d7e855766a5bc4ad8f9707115980095d60d4ac138d507319702aa543 029b07f670d5fc1b4e93be50bf51499f3c967bbd8bc133e1d012dde615a2383b26 2 OP_CHECKMULTISIG","hex":"5121022b733322d7e855766a5bc4ad8f9707115980095d60d4ac138d507319702aa54321029b07f670d5fc1b4e93be50bf51499f3c967bbd8bc133e1d012dde615a2383b2652ae","reqSigs":1,"type":"multisig","addresses":["14Q2NNiF5YzDZCjo7vrBuHdbZcmHRJyW3j","14inwuhpBTew2C8EenXW2L7xMDWx9Jti5h"]}}]},"error":null,"id":"1"}

Signing appears successful.
Transaction sent, ID: 9e52649ea61ad6d69c228c6b252d261fc6ae62fba25228c2c10a609f22969d90
hero member
Activity: 644
Merit: 500
March 02, 2014, 04:35:37 PM
#36
No Mac wallet? Sad
sr. member
Activity: 266
Merit: 250
March 02, 2014, 06:14:18 AM
#35
So, after about 3 days of sync'ing the wallet I tried to do a send of TMSC. The response was that there's not enough funds in my wallet to cover the tx fee.
I got about 0.0004 BTC in that address.. What is the tx fee set to? 0.001?

There are additional costs beyond just the miners fee (which is set at 0.00011) for funding the outputs for the transaction.  The library currently requires an unspent output >the total fee (~0.00035-0.00040 BTC) in order to send a transaction.

I actually wrote an appendix regarding the cost of Master Protocol messages, you can read it here if you're interested https://github.com/mastercoin-MSC/spec#appendix-e---understanding-the-cost-of-master-protocol-messages

Thanks Smiley
Zathras
newbie
Activity: 34
Merit: 0
March 01, 2014, 06:45:31 PM
#34
So, after about 3 days of sync'ing the wallet I tried to do a send of TMSC. The response was that there's not enough funds in my wallet to cover the tx fee.
I got about 0.0004 BTC in that address.. What is the tx fee set to? 0.001?
Pages:
Jump to: