Pages:
Author

Topic: BTCD is no more - page 80. (Read 1328507 times)

legendary
Activity: 924
Merit: 1000
December 07, 2015, 09:27:30 PM
Speaking of being slow, I'm going to have to eat some LSD in order to over-clock those mind gears for floating near James's level. =James has blown my mind again!

LSD...the LeiSureDrug. "When I had the time for it, I was afraid; now that I'm no longer afraid, I no longer have the time."

[Actually, there was a first-stab study done just before the 1966 chop-off that asked whether a full dose of LSD enhanced creative-problem-solving abilities. The conclusion was, "a tentative yes in some cases, but we need more research." Oh, what might have been...]
hero member
Activity: 882
Merit: 1000
December 07, 2015, 08:04:16 PM
thanks btcddev

So it sounds like this BitcoinDark Multi wallet WILL support old coins such as ixcoin and i0coin. Which would be great as it is getting really hard to trade some of the classics, so this could bring over those communities. and those should be REALLY easy to add.

Might I inquire if there will be an easy method, or a scrypt, button, drop down list, what ever, to add extra coins for us slow people? something automatized.

Speaking of being slow, I'm going to have to eat some LSD in order to over-clock those mind gears for floating near James's level. =James has blown my mind again!


Quote
now it is also possible to add coins other than BTC/BTCD, but the specific chain parameters needs to be specified with the following fields:         "name","description","pubval","scriptval","wipval","netmagic","genesishash","genesisblock","p2p","rpc","hastimestamp"

first three are all fields except last 3 are hexstrings, the last three are numbers for p2p port, rpc port

the byte sizes for pubval, scriptval and wipval is 1
netmagic is 4 bytes

genesishash is 32 bytes and genesisblock is variable

the hexstr will be double these sizes, so to add a coin that is not BTC or BTCD these parameters must be in the coin's json

once we can start the ramchains building then we can support the info API:
"status", "getblock", "gettxid", "getaddress" and whatever others you need to make a blockexplorer display

please ask any questions to clarify I now am generating and reloading ramchains with just an issue past block 250K, but enough works we can get the html certainly working with the data from the early blocks
sr. member
Activity: 255
Merit: 251
December 07, 2015, 11:32:25 AM
Iguana is BitcoinDark wallet, with multiple coins supported.

#iguana snippet from December 5:

Quote
jl777 [1:18 AM]
i had to slow down things a bit, but it looks like it is working much smoother

​[1:18]
PARSED.332900 T.53166258 U.145635386+265 S.130373708+749 P.55869173 hwm.386760 longest.386760 | 1916083934.48368859 - 1902511419.68137693 13572514.80231166 [40.77054612] M 16645050.00000000 F -3072535.19768817 | 177.15 minutes 100.00% 99.99% 99.81% avail compR 1.000

​[1:18]
and

​[1:18]
PARSED.361700 T.72732978 U.206127096+5724 S.185528318+5035 P.81212997 hwm.386738 longest.386774 | 2123151527.35031271 - 2108859012.54800105 14292514.80231166 [39.51483219] M 18085050.00000000 F -3792535.19768817 | 418.12 minutes 14.40% 0.58% 0.57% avail compR 1.000

​[1:19]
so on two servers it is getting past where it got stuck, but the total processing time will be around the original 8hours target, even though at max bandwidth it can be downloaded in 30 minutes

​[1:19]
established network contact with btcd network and all looks pretty good, except it doesnt have the blockhdrs message in the protocol, so i will have to create that out of the blockhashes

​[1:20]
i got the first part of the API handling done and a null json is getting from html into the pnacl code

​[1:20]
oh, I also got it so that the ramchains start building within the chrome app

​[1:21]
but, got an error 38... which is unimplemented function for syncing the mmap files

​[1:21]
so I will need to do some major reworking of the ramchain management to use stdio

​[1:22]
i got a basic inbound processing loop, but ran into some issues with getting the second packet

​[1:23]
i will probably not be online until Sunday. in the meantime what would be useful is to verify that BTC blockchain is parsed till the end on more than my servers

​[1:26]
once I get the inbound networking debugged, that will allow not only doing RPC, but to make generic SuperNET agent comms and even the dedicated pangea networking and also being a full node for bitcoin/btcd, so it is quite important

​[1:27]
tl:dr almost done with the slow part of the iguana dev process. once I get an abstraction layer on top of the low level functionality, then the rest is just "normal" code, which has the advantage of not having strange slow down mysteries that takes days to fix

​[1:29]
i think by next weekend a ramchain explorer version that supports blocks and txids and standard addresses is possible, though still these strange system level issues can slow things down. one thing that I worry about is the 10GB limit on total files allowed in a chrome app. this is a problem for BTC and would require partitioning iguana in an unnatural way

​[1:31]
assuming I can get the ramchain explorer mostly working by next weekend, then the week after that would be for a basic wallet, though that requires HTML to also be ready

​[1:32]
with the ramchain design a "wallet" is actually quite simple as you can just have a list of addresses and make a single ramchain request to get the total available

​[1:32]
really the most work will be just formatting the json return for the API calls

​[1:33]
now is the time to make requests for wallet functions that are desired

jl777 [1:39 AM]
i will support an iguana.conf file so we can do iguana conf just like SuperNET.conf  iguana has hard coded support for BTC and BTCD
a "coins":[] array is used to specify the active coins

each coin would have its own json object inside the "coins" array
{"name":"BTC","description":"bitcoin"}
optional fields are: "maxrecvcache" "maxpeers" "initialheight" "services"

the first two are something the end user will want to be able to change, "maxrecvcache" specifies the number of gigabytes that will be used to readahead, maxpeers defines the maxpeers used

initialheight should be the approximate current height, but not really needed for normal use
also services is more an internal dev field, leaving it off is fine
not sure if we need to bother with password protecting the basic ramchain functions
so there are the active coins that are in the "coins":[] array and if to allow specifying which coins, we need to be able to start and stop the syncing of the blockchain

so an {"method":"start","coin":"BTC"} to start BTC sync and a "stop" to stop the sync

now it is also possible to add coins other than BTC/BTCD, but the specific chain parameters needs to be specified with the following fields:         "name","description","pubval","scriptval","wipval","netmagic","genesishash","genesisblock","p2p","rpc","hastimestamp"

first three are all fields except last 3 are hexstrings, the last three are numbers for p2p port, rpc port

the byte sizes for pubval, scriptval and wipval is 1
netmagic is 4 bytes

genesishash is 32 bytes and genesisblock is variable

the hexstr will be double these sizes, so to add a coin that is not BTC or BTCD these parameters must be in the coin's json

once we can start the ramchains building then we can support the info API:
"status", "getblock", "gettxid", "getaddress" and whatever others you need to make a blockexplorer display

please ask any questions to clarify I now am generating and reloading ramchains with just an issue past block 250K, but enough works we can get the html certainly working with the data from the early blocks

​[1:40]
the latest version does support command line JSON being passed in for the iguana.conf, use backslash to escape the " inside the json. this is totally untested

jl777 [1:50 AM]
PARSED.363500 T.74227637 U.211070171+4669 S.189829851+3701 P.83095838 hwm.386738 longest.386783 | 2138390887.18090487 - 2124053372.37859321 14337514.80231166 [39.44295682] M 18175050.00000000 F -3837535.19768817 | 448.73 minutes 5.30% 0.21% 0.23% avail compR 1.000

​[1:50]
within 20k blocks

​[1:50]
total 16G
-rw-r--r-- 1 dvb2 dvb2  52M Dec  5 07:48 blocks
-rw-r--r-- 1 dvb2 dvb2 313K Dec  5 07:46 iAddrs
-rw-r--r-- 1 dvb2 dvb2 543M Dec  5 01:19 ledger
-rw-r--r-- 1 dvb2 dvb2 2.2G Dec  5 07:49 pkhashes
-rw-r--r-- 1 dvb2 dvb2 1.8G Dec  5 07:49 pkhashes2
-rw-r--r-- 1 dvb2 dvb2 439M Dec  5 07:49 pkhashes3
-rw-r--r-- 1 dvb2 dvb2 764M Dec  5 07:49 spends
-rw-r--r-- 1 dvb2 dvb2 921M Dec  5 07:49 spends2
-rw-r--r-- 1 dvb2 dvb2 2.9G Dec  5 07:49 txids
-rw-r--r-- 1 dvb2 dvb2 3.7G Dec  5 07:49 unspents
-rw-r--r-- 1 dvb2 dvb2 2.3G Dec  5 07:49 unspents2

​[1:54]
total size is 16GB here, so probably around 18GB to get to realtime. that is for fullnode. keeping just the unspents would probably fit in less than 100mb as there are ~17 million utxo and each can be encoded in ~8 bytes, but maybe easier to encode it in uncompressed 16 bytes for 250mb dataset

​[1:56]
that requires full iguana nodes to convert the canonical 32bit indexes for the txids, so this will need to wait until a bit later. but since a full node can be made from scratch overnight, maybe there isnt much rush for this, its more for the fully mobile miniguana

infinitechaos [6:23 PM]
joined #iguana by invitation from @noashh


----- Yesterday December 6th, 2015 -----
jl777 [1:34 AM]
as expected i am partway through reworking the main processing loop. Now that I better understand the constraints, I aim to solve the remaining sticky issues for initial ramchain sync so resumes are reliable and also so high end computers can process things much closer to the 30 download time for the the full blockchain. but the biggest issue is the chrome app's 10GB limit and also that it is quite slow with the I/O, so maybe the tradeoff is that the chrome version will rely on full iguanas and become the miniguana

​[1:35]
one approach is to have the chrome app be able to do a full  sync on its own, but if a local full iguana is there, it would just do the front end and let the full native version do all the backend work. that would allow a single GUI (without any changes) to work for both iguana and miniguana

​[1:37]
i forsee a long day today to finish coding the new control flow and get it to not crash with the debugging to complete in a day or two after that. i will skip the partitioning the chrome app into multiple ones to get around the 10GB limit as google says they will revisit this and much prefer to keep the architecture as simple as possible. As it is it is getting to the edge of complicated
hero member
Activity: 882
Merit: 1000
legendary
Activity: 1540
Merit: 1000
December 07, 2015, 06:18:25 AM
"SuperNET Project ​'Iguana' to Birth a Chrome App, Increase Accessibility of its Technology"



 http://coremedia.info/index.php/bitcoin-2-0/item/187-project-iguana-to-birth-a-supernet-chrome-app-increase-accessibility-of-its-technology
hero member
Activity: 840
Merit: 1000
December 07, 2015, 03:00:50 AM
I have another question about dividents.
Dividents are sent to my addresses with (received with)
Is it normal to receive divident with an address which is not mine?
That address is not in my list of addresses in "Receive coins"

I once received stake (mined) with that address too.

Also the address is greyed in the transactions list.

You mean the dividends from the MMBTCD fund?
They are send by Azeh? And of course through another address which is not yours. Its another address because its staking revenue which is not implemented in the BTCD-system. Ammount is depending on the number of blocks minted by your addresses...

Ok, I get what you are saying but again...
Last time I received dividents twice on one of my addresses and once on that address which is not mine.
I have also received coins from staking (Mined) on that address which is not mine. In this case it was not dividents.

have you run validateaddress on the addresses you say are not yours?
No, how can I do that?

Ok, I found how to do that.
It returns

{
"isvalid" : true,
"address" : "R                      9",
"ismine" : true,
"isscript" : false,
"pubkey" : "                                ",
"iscompressed" : true
}



But again, I do not have such address starting with R and ending with 9



This might be a "change address" your wallet created. It is not listed on receive coin tab but if you dont use coin control to specify a custom change address while sending some coins then wallet creates a new address to which change from your outgoing transaction is sent. and if you havent consolidated your inputs using coin control then your BTCD in the change address are staking there.
legendary
Activity: 966
Merit: 1000
December 06, 2015, 07:09:56 PM
This coin is having a nice development, i only hope the users base growth and price breaks the actual downtrend
legendary
Activity: 1111
Merit: 1000
crypto-enthusiast since 2012
December 06, 2015, 12:28:02 PM
in before the rise  Grin Grin Grin
sr. member
Activity: 441
Merit: 500
December 02, 2015, 09:41:28 AM
Week 27: 20 BTCD have been paid to 608 unique BitcoinDark addresses for successfully staking blocks 831819-842604

Thanks for staking and supporting the BitcoinDark network.

The BitcoinDark chrome app (Iguana) will be released soon with block explorer functionality to show off the power of ramchains (BTC Blockchain compressed to 15GB and Full sync in 6 hrs.) along with the launch of the new BitcoinDark marketing campaign. 

A special thanks for those that have continued to support BTCD even through the hard times.  Your patience will begin to be rewarded soon.  Wink
sr. member
Activity: 255
Merit: 251
December 01, 2015, 12:34:12 PM
Cool,

And where is the discussion? Supernetforum 1 or supernet forum 2? Or instandex forum? Or slack? Or nxt forum? Or btc talk , Or the new ( please let me into the iguana section)?

Fucking spread that information out like peanut butter...

I want to take a bite out of that sandwich but i cant find the jelly!

Iguana has been in discussion for many months, please don't think this is a new concept  Smiley

With a nice, multiwallet chrome app that enables one click installs on any OS, pax and other functions running as well, it'll be really great  Wink

In slack, iguana channel.
hero member
Activity: 882
Merit: 1000
December 01, 2015, 11:08:44 AM
Cool,

And where is the discussion? Supernetforum 1 or supernet forum 2? Or instandex forum? Or slack? Or nxt forum? Or btc talk , Or the new ( please let me into the iguana section)?

Fucking spread that information out like peanut butter...

I want to take a bite out of that sandwich but i cant find the jelly!

Iguana has been in discussion for many months, please don't think this is a new concept  Smiley

With a nice, multiwallet chrome app that enables one click installs on any OS, pax and other functions running as well, it'll be really great  Wink
sr. member
Activity: 255
Merit: 251
November 30, 2015, 04:44:15 PM
Iguana has been in discussion for many months, please don't think this is a new concept  Smiley

With a nice, multiwallet chrome app that enables one click installs on any OS, pax and other functions running as well, it'll be really great  Wink

Any chance to see it done this year ?

Hoping to have a demo beta release soon. (within a few weeks)

As with all new tech though, it's subject to change.

According to James, who has been working nonstop on this for many weeks now, he is syncing the Bitcoin chain quickly.

Yesterday he was able to sync 51.5GB of the BTC chain in ~6 hours, achieving an extremely good compression rate of the chain that I think will attract even the most ferocious Bitcoin Maximalist and BTT trolls.

He was on a 20mbps connection as measured by online bandwidth test website.

All big tech companies go for gaining users first. BTCD wants more users, so why not allow users to run the BTCD wallet on similar coins? BTCD will be the default, of course.

anyway, thought that might excite some folks around here. After so many months spent working on mxe porting supernet to windows, a universally accessible OS-independent BTCD really excites me  Smiley
hero member
Activity: 561
Merit: 500
November 30, 2015, 03:29:13 PM
Iguana has been in discussion for many months, please don't think this is a new concept  Smiley

With a nice, multiwallet chrome app that enables one click installs on any OS, pax and other functions running as well, it'll be really great  Wink

Any chance to see it done this year ?
hero member
Activity: 515
Merit: 502
November 30, 2015, 02:04:53 PM
every time comes a news about BitcoinDark development, the price start to go downhill  HuhHuhHuh


This is also the umpteenth demonstration that crypto markets are still driven mostly by hype and short term speculation. Anyone who understands what James is working on can see that Btcd is a must buy for the future
legendary
Activity: 924
Merit: 1000
November 30, 2015, 12:35:17 PM
every time comes a news about BitcoinDark development, the price start to go downhill  HuhHuhHuh

There's an old Wall Street adage: "Buy on the rumour, sell on the news." That's what you might be seeing here.

Also - I've noticed this in mining exploration - speculative projects tend to become boring as they come closer to completion. When they become boring, the "blue-sky" part of their price evaporates. That's us humans for ya: as exciting speculation turns into humdrum reality, the "excitement" premium vanishes and the price sinks.

Quick disclaimer: I'm reasoning by analogy here, from mining exploration to crypto innovation. I really don't know if the final part of the analogy holds: namely, the price climbs strongly once the project's finished and the revenue comes. For this part I'm relying on common sense.
sr. member
Activity: 255
Merit: 251
November 30, 2015, 10:29:47 AM
Iguana has been in discussion for many months, please don't think this is a new concept  Smiley

With a nice, multiwallet chrome app that enables one click installs on any OS, pax and other functions running as well, it'll be really great  Wink
hero member
Activity: 882
Merit: 1000
November 29, 2015, 01:09:43 PM
Would this be considered as atomic transactions?

And maybe you don't hear it enough, but excellent job James. Thank you.
Keep up the good work.

Quote
In last 4 weeks, I have written from scratch a bitcoin protocol daemon that simultaneously talks to multiple coin networks and got blockhdr syncing and peer management generating a compressed cache of blocks that are read ahead while generating a native ramchain.

Keep in mind that this is catching up to the reference bitcoin client so I dont have all the bells and whistles and at first it wont be a fully validating node for all things, just for the tx that the user cares about.

I even wrote the networking from scratch to minimize system dependencies, so other than crypto libraries there are no external dependencies other than very basic system calls like pthreads, stdio and sockets - which means it will be very lightweight and can run on basically anything.

There is no C++ overhead, no boost, no giant libraries and no Java runtime

The usage of mmap files for all the DB means its ram usage is minimal, but it will utilize the available RAM as a low priority user. So if you have lots of RAM it will be nearly as fast as being fully RAM resident, but even if you have no RAM, it will still run. SSD is recommended for low mem use cases. If you have no RAM and slow HDD, not much I can do to make it be fast.
hero member
Activity: 552
Merit: 500
November 29, 2015, 12:11:23 PM
every time comes a news about BitcoinDark development, the price start to go downhill  HuhHuhHuh
price falling is related to rise Bitcoin price. if Bitcoin go up to $500 again, then BitcoinDark will go to 0.001 
Looks clearly price depends of dolar $ not  BTC. What is really strange  Lips sealed
Bitcoin price is tied to dollar because Bitcoin is trading with dollar and BitcoinDark price is tied to the Bitcoin because BitcoinDark is trading with Bitcoin, but this isn't reason for BitcoinDark price tied to dollar.
Grin
I see inconsistency
but ok
So there must be other reason that BitcoinDark price is tied to dollar.
When Bitcoin price goes up then Altcoins price goes down and when Bitcoin price goes down then Altcoins price goes down. this is the reason for that  price of BitcoinDark and other Altcoins is without dependence on the dollar.
full member
Activity: 164
Merit: 100
November 29, 2015, 11:56:03 AM
every time comes a news about BitcoinDark development, the price start to go downhill  HuhHuhHuh
price falling is related to rise Bitcoin price. if Bitcoin go up to $500 again, then BitcoinDark will go to 0.001 
Looks clearly price depends of dolar $ not  BTC. What is really strange  Lips sealed
Bitcoin price is tied to dollar because Bitcoin is trading with dollar and BitcoinDark price is tied to the Bitcoin because BitcoinDark is trading with Bitcoin, but this isn't reason for BitcoinDark price tied to dollar.
Grin
I see inconsistency
but ok
So there must be other reason that BitcoinDark price is tied to dollar.
hero member
Activity: 552
Merit: 500
November 29, 2015, 11:48:38 AM
every time comes a news about BitcoinDark development, the price start to go downhill  HuhHuhHuh
price falling is related to rise Bitcoin price. if Bitcoin go up to $500 again, then BitcoinDark will go to 0.001 
Looks clearly price depends of dolar $ not  BTC. What is really strange  Lips sealed
Bitcoin price is tied to dollar because Bitcoin is trading with dollar and BitcoinDark price is tied to the Bitcoin because BitcoinDark is trading with Bitcoin, but this isn't reason for BitcoinDark price tied to dollar.
Pages:
Jump to: