BTCD Slack Log (2/13)js.galt (sprnt) [2:40 AM]
just read in a newsletter that 5% of sNET revenues will be distributed to btcd stakes 'periodically' any estimates of how often this will happen or how that will be decided?
Also, I supose this will begin once isntantdex is live and revenues start flowing in, right?
jl777 (sprnt) [2:42 AM]
at most monthly and only when there is enough to make it worth doing
js.galt (sprnt) [2:43 AM]
ok. will the 5% be distributed evenly among all stakers. or proportinatedly based on their stake?
jl777 (sprnt) [2:43 AM]
each staking event will have equal weight
jl777 (sprnt) [2:43 AM]
regardless of how much they staked with
jl777 (sprnt) [2:44 AM]
the weight from stake is already factored in by the number of times you staked
nippybrit (sprnt) [2:44 AM]
the amount of btcd earned through staking just goes up once as a dividend?
nippybrit (sprnt) [2:44 AM]
is there some way to do that?
jl777 (sprnt) [2:45 AM]
yes
nippybrit (sprnt) [2:49 AM]
how does it work? is there an address that you can just send coins to and they get added to the stake or something?
jl777 (sprnt) [2:51 AM]
well, if you had a way to analyze all blocks for a month
jl777 (sprnt) [2:51 AM]
and find the address that staked each block
jl777 (sprnt) [2:51 AM]
then make a hash table with address + count
jl777 (sprnt) [2:51 AM]
increment the count for each block
nippybrit (sprnt) [2:51 AM]
ohh, I see now
jl777 (sprnt) [2:51 AM]
now you can iterate the list to get the percentage for each address
jl777 (sprnt) [2:51 AM]
multiply by the total avaialble
jl777 (sprnt) [2:51 AM]
construct a tx with the corresponding outputs
jl777 (sprnt) [2:52 AM]
sendrawtransaction
nippybrit (sprnt) [2:52 AM]
when people move coins with teleport, does that make it any harder to work out who has been staking what?
jl777 (sprnt) [2:52 AM]
no
jl777 (sprnt) [2:52 AM]
the address is the address
nippybrit (sprnt) [2:52 AM]
right
jl777 (sprnt) [2:52 AM]
and the privacy is maitained
jl777 (sprnt) [2:52 AM]
no need to register anyway
jl777 (sprnt) [2:52 AM]
just extra BTCD arrives monthly
nippybrit (sprnt) [2:52 AM]
rather cool
jl777 (sprnt) [2:53 AM]
also important to note that the SuperNET revshare will be in terms of BTC, NXT, etc.
jl777 (sprnt) [2:53 AM]
so this will first need to be converted to BTCD before it can be sent to a BTCD address
nippybrit (sprnt) [2:54 AM]
it's a really interesting system
nippybrit (sprnt) [2:54 AM]
does the btcd staking effectively "power" some supernet functions?
jl777 (sprnt) [2:54 AM]
with ramchains, i can do the above process in about a second
nippybrit (sprnt) [2:54 AM]
LOL
nippybrit (sprnt) [2:54 AM]
amazing
jl777 (sprnt) [2:54 AM]
btcd staking is just for BTCD
jl777 (sprnt) [2:55 AM]
I just use it as a way to allocate the revshare fairly
nippybrit (sprnt) [2:55 AM]
oh okay
nippybrit (sprnt) [2:56 AM]
is there a description somewhere I can read about how btcd is intended to provide teleport to other coins etc?
jl777 (sprnt) [2:56 AM]
https://github.com/jl777/libjl777/teleport.hnippybrit (sprnt) [2:56 AM]
that may be alittle in depth for me :stuck_out_tongue:
mr_e (sprnt) [2:56 AM]
404
mr_e (sprnt) [2:56 AM]
:O
mr_e (sprnt) [2:56 AM]
The code is gone!
nippybrit (sprnt) [2:56 AM]
and a broken link haha
nippybrit (sprnt) [2:56 AM]
shit, time to sell
btcddev (sprnt) [2:57 AM]
ill buy it :simple_smile:
mr_e (sprnt) [2:57 AM]
sure, 2x price
jl777 (sprnt) [2:57 AM]
forgot it needs to be blob'ed
jl777 (sprnt) [2:57 AM]
url fixed now
mr_e (sprnt) [2:58 AM]
aren't .h files supposed to be headers?
mr_e (sprnt) [2:58 AM]
how come there is code in there
jl777 (sprnt) [2:58 AM]
i am strange that way
jl777 (sprnt) [2:59 AM]
I dont like linkers
jl777 (sprnt) [2:59 AM]
or linkers dont like me
mr_e (sprnt) [2:59 AM]
why not use .c then
jl777 (sprnt) [2:59 AM]
I am too lazy to add them to the Makefile
mr_e (sprnt) [2:59 AM]
lawl
jl777 (sprnt) [3:00 AM]
and I am too lazy to keep changing the function prototypes
jl777 (sprnt) [3:00 AM]
so I include one .c file which includes .h files which include other .h files and sometimes .c files
jl777 (sprnt) [3:00 AM]
it all gets compiled as one file.
jl777 (sprnt) [3:00 AM]
blows up the microsoft compiler
jl777 (sprnt) [3:01 AM]
but unix compilers are fine and actually can do a lot more optimizations with everything in one file
jl777 (sprnt) [3:01 AM]
so it makes for the fastest code this way
jl777 (sprnt) [3:01 AM]
also I dont like linkers and they dont like me
jl777 (sprnt) [3:01 AM]
I can change a function and 99% of the time all functions that use that function are included afterwards
jl777 (sprnt) [3:01 AM]
so if I change it, no need to change any prototype. the function itself is its own prototype
jl777 (sprnt) [3:02 AM]
i am told that it really confuses code analyzers
jl777 (sprnt) [3:02 AM]
so no automatic way to generate all the fancy charts about the software flow
jl777 (sprnt) [3:02 AM]
just have to download it into your brain and visualize it
mr_e (sprnt) [3:03 AM]
once you move on, who will be able to maintain this then lol
jahl (sprnt) [3:05 AM]
each staking event will have equal weight
jl777 [7:43 PM]
regardless of how much they staked with
jahl (sprnt) [3:05 AM]
not sure i get this, but it doesn't matter how much you own, you get equal amount of fees?
jl777 (sprnt) [3:06 AM]
the more you own, the more often you are staking
jahl (sprnt) [3:06 AM]
aaah
jl777 (sprnt) [3:06 AM]
so to weight it again is making it stake*stake
jl777 (sprnt) [3:06 AM]
this does not seem right
jl777 (sprnt) [3:06 AM]
plus it is simpler to just count
js.galt (sprnt) [3:10 AM]
"'By sending at least 0.1 BTCD to the deposit address, it will fund your account at 100:1 ratio with a 2 NXT fee to cover tx costs. if you change the "convertNXT" field from 10 down to 2, then it will only use 0.04 BTCD. Min deposit is 0.05.'"
js.galt (sprnt) [3:10 AM]
free btcd?
js.galt (sprnt) [3:11 AM]
I must be missing something. so we would get 100 mgwBTCD to every BTCD we deposit?
jl777 (sprnt) [3:14 AM]
the amount converted to NXT is deducted from the mgwBTCD you get
jl777 (sprnt) [3:14 AM]
this is just a onetime thing for when you dont have a pubkey and wouldnt be able to do anything without any NXT
jl777 (sprnt) [3:15 AM]
maybe the exchange rate should be lowered from 100:1 to 85:1 so at this exchange rate I guess there is some freebie aspect
jl777 (sprnt) [3:15 AM]
will be hooking the conversion rate to InstantDEX orderbook price
jl777 (sprnt) [3:38 AM]
.
jl777 (sprnt) [3:38 AM]
kind of spooky
jl777 (sprnt) [3:39 AM]
usually complicated new code is taking many builds to debug, especially when needing data over the network
jl777 (sprnt) [3:40 AM]
first test for B4096 syncing seemed to just work on the first try. somehow the B64 telescoping did not seem to happen, but all the ramchain generators are in full agreement with the sha256 of the B blocks
jl777 (sprnt) [3:41 AM]
considering that this is the canonical version and each node has permuted all the high entropy strings' indices to a strict blockchain appearance order, it is a nice thing to see the perfect agreement among the nodes
jl777 (sprnt) [3:41 AM]
bugs in that would not be easy or fun to track down
jl777 (sprnt) [3:42 AM]
been up for day and half i think, not sure how much longer before I need to recharge. still need to get the B64 and then the actual data from the B blocks
mr_e (sprnt) [3:51 AM]
awesome:S
mr_e (sprnt) [3:51 AM]
:smile:
mr_e (sprnt) [3:51 AM]
how is the btc ramchain coming
jl777 (sprnt) [3:53 AM]
similar to my relationship with linkers
jl777 (sprnt) [3:55 AM]
another reason for selfhealing ramchains is that when I expand it to the generator side too, I can use it to parallel generate the btc ramchain and also to recover from the inevitable errors that happens while loading a 30 GB!!! blockchain
jl777 (sprnt) [3:56 AM]
i had a stupid swiss cheese bug over the weekend and so an unknown number of bad blocks crept in
jl777 (sprnt) [3:57 AM]
so after trying to remove the bad ones yesterday, I decided to just treat it like I want to treat the windows
jl777 (sprnt) [3:57 AM]
yes, I did rm -rf and wiped it clean
jl777 (sprnt) [3:57 AM]
so now it is redoing the V blocks, up to 220K
jl777 (sprnt) [3:58 AM]
I figure by the time I am done with the selfhealing ramchains, the BTC ramchain is either done or close enough to done I can selfheal it to completion
jl777 (sprnt) [4:06 AM]
...
jl777 (sprnt) [4:06 AM]
again the same bug!
jl777 (sprnt) [4:07 AM]
my most common bug is that I forget to call the function I wrote specifically for the task.
jl777 (sprnt) [4:07 AM]
similar to building a gizmo and forgetting to turn the power on...
jl777 (sprnt) [4:07 AM]
so now it should at least do the B64 blocks. we shall see
carpediem [4:27 AM]
joined #general
jahl (sprnt) [5:02 AM]
does every function start with void? ex. void run(), yes or no will suffice, just examples so far this guy always uses void atm, i guess i will see when it evolves, just wondering atm
js.galt (sprnt) [5:42 AM]
not sure I get the 100:1 convertion ratio still. is this 100nxt per 1 btcd?
js.galt (sprnt) [5:43 AM]
or 100 mgwBTCD per 1 BTCD?
atckit [5:49 AM]
I had a n electrical outage earlier today. When i restarted my btcd wallet in order to stake, i got an error message saying : "can't load blockchain". Anyone seen this error before?
jahl (sprnt) [5:51 AM]
i once had to redownload the entire blockchain afetr a power outage
jahl (sprnt) [5:51 AM]
not sure if there is another way
atckit [5:51 AM]
how can i do that?
jahl (sprnt) [5:53 AM]
i think i removed the blk0001.dat file
jahl (sprnt) [5:55 AM]
else copy the peers.dat and wallet.dat to desktop, remove everything inside the bitcoindark folder, then run the wallet, close it again and copy back these files into the folder
atckit [5:56 AM]
ok will try. thx
atckit [6:27 AM]
I couldn't get any connections after doing this. So, I went to
http://bitcoindark.pw/ to find a conf file and compare it to the conf file i downloaded using the link from the Bitcointalk OP . I was missing several nodes. All good now. (edited)
jahl (sprnt) [6:28 AM]
ah, i never fiddled with the config file, so i just make sure i have a copy of my peers.dat file when i delete anything :simple_smile:
jahl (sprnt) [6:29 AM]
so next time save your config file :smile:
atckit [6:44 AM]
Yup:grinning:
js.galt (sprnt) [8:37 AM]
oh, i get the conversion rate thing now, i think
----- Today February 14th, 2015 -----
js.galt (sprnt) [2:57 AM]
@jl777: do we have any feedback from third party reviewers of BTCD like @kristovatlas yet? Also, I know another group of pro infosec researchers that might be up to the job. If there's some money on it, like that bounty. I'll reach out.
jl777 (sprnt) [2:58 AM]
no final feedback yet
mr_e (sprnt) [2:58 AM]
any initial feedback?
jl777 (sprnt) [2:59 AM]
I did get some invaluable feeback from Come-from-Beyond and will be enhancing things to a level I did not believe possible
mr_e (sprnt) [2:59 AM]
oh wow
jl777 (sprnt) [2:59 AM]
the initial feedbacks from kristov has been mostly minor things or no issue at all
mr_e (sprnt) [2:59 AM]
you code warrier
jl777 (sprnt) [3:00 AM]
this is a very complex project in a very complex field
mr_e (sprnt) [3:00 AM]
yes
jl777 (sprnt) [3:00 AM]
and I am making it so it is something pretty good
mr_e (sprnt) [3:00 AM]
and yet... everything is near perfect on your first try
jl777 (sprnt) [3:00 AM]
but then when improvements can be made to the weak parts
mr_e (sprnt) [3:00 AM]
if I get a single file to do that I don't know whether to be happy or scared
jl777 (sprnt) [3:00 AM]
until there are no weak parts
jl777 (sprnt) [3:01 AM]
i usually need to rewrite things 3 times to get it right
jl777 (sprnt) [3:01 AM]
like ramchains
mr_e (sprnt) [3:01 AM]
should do 5 to be safe
jl777 (sprnt) [3:01 AM]
no
jl777 (sprnt) [3:01 AM]
when it is optimal, it is hard to improve
mr_e (sprnt) [3:01 AM]
haha
jl777 (sprnt) [3:01 AM]
ramchains are not quite there yet
jl777 (sprnt) [3:01 AM]
but it just needs a bit of code cleanup
jl777 (sprnt) [3:01 AM]
not anymore rewrites
mr_e (sprnt) [3:02 AM]
so what is all this stuff about adding python and java and bash?
adding it to what?
jl777 (sprnt) [3:02 AM]
SuperNET
jl777 (sprnt) [3:02 AM]
other projects
mr_e (sprnt) [3:02 AM]
adding it in what sense?
jl777 (sprnt) [3:02 AM]
it turns out not many are C coders
jl777 (sprnt) [3:02 AM]
so if there was a project in python
mr_e (sprnt) [3:02 AM]
we talking turing complete etherum type stuff?
jl777 (sprnt) [3:02 AM]
then now it can be integrated into SuperNET and it publishes API for everything else
jl777 (sprnt) [3:02 AM]
well it is turing complete
jl777 (sprnt) [3:03 AM]
but it is runing on each node
mr_e (sprnt) [3:03 AM]
sounds risky
jl777 (sprnt) [3:03 AM]
it just allows addons to be done easy
jl777 (sprnt) [3:03 AM]
risky?
jl777 (sprnt) [3:03 AM]
pangea it is written in python
mr_e (sprnt) [3:03 AM]
so you mean, extension hooks for supernet to be extended by other languages?
jl777 (sprnt) [3:04 AM]
pangea it is written in python
mr_e (sprnt) [3:04 AM]
ya
mr_e (sprnt) [3:04 AM]
that's a third party app
jl777 (sprnt) [3:04 AM]
so I thought it would be a good idea for pangea to be able to become integrated into SuperNET
mr_e (sprnt) [3:04 AM]
no shocker there
mr_e (sprnt) [3:04 AM]
so, are these libraries?
mr_e (sprnt) [3:04 AM]
supernet libraries for other languages?
jl777 (sprnt) [3:04 AM]
and since pangea will be using the SuperNET api it is requiring to support python
mr_e (sprnt) [3:05 AM]
it's just rest calls
mr_e (sprnt) [3:05 AM]
so it already supports it
jl777 (sprnt) [3:05 AM]
yes libraries of python code
jl777 (sprnt) [3:05 AM]
1000 RPC per second limit via localhost
jl777 (sprnt) [3:05 AM]
by direct integration you could do almost a million per second
jl777 (sprnt) [3:05 AM]
depending on the API of course
mr_e (sprnt) [3:05 AM]
well that sounds wonderful
jl777 (sprnt) [3:06 AM]
it just allows other coders to add to the SuperNET core
jl777 (sprnt) [3:06 AM]
so I am adding python, there is already the bash scripts
jl777 (sprnt) [3:06 AM]
actually I generalized it so any compiler can be called
jl777 (sprnt) [3:06 AM]
compiler -> interpreter
jl777 (sprnt) [3:06 AM]
and actually any system call can be made
mr_e (sprnt) [3:06 AM]
don't forget your favourite, C#
jl777 (sprnt) [3:07 AM]
not even sure what that is
jl777 (sprnt) [3:07 AM]
but I will be adding Java
jl777 (sprnt) [3:07 AM]
and maybe mysql and MATLAB
mr_e (sprnt) [3:07 AM]
node.js?
jl777 (sprnt) [3:07 AM]
ruby
jl777 (sprnt) [3:07 AM]
libuv is already in SuperNET
btcddev (sprnt) [3:12 AM]
supernode.js :simple_smile:
btcddev (sprnt) [3:12 AM]
i can't wait to see what people do with python tradebots
btcddev (sprnt) [3:13 AM]
to have the ability to call python scripts from within supernet api, then have the full suite of supernet calls available...it's gonna be nice
js.galt (sprnt) [3:27 AM]
@jl777: Does Teleport still function, so that the reviever has to trust the sender not to spend the tx, before clonesmear delay is finished?
jl777 (sprnt) [3:29 AM]
yes
jl777 (sprnt) [3:29 AM]
it is recommended to not deliver to the sender whatever the tx was for until cloning complete
jl777 (sprnt) [3:29 AM]
with average 1 hour clonesmear,this time is similar to BTC tx times
js.galt (sprnt) [3:31 AM]
great, ty.
js.galt (sprnt) [4:44 AM]
So, why has BTCD not made teleport accessible through the QT yet?
js.galt (sprnt) [4:44 AM]
writing an article as you may imagine. :simple_smile:
jl777 (sprnt) [4:46 AM]
the onramp/offramp needs to be made secure
jl777 (sprnt) [4:46 AM]
without that protection it is too easy for people to make a mistake and lose privacy
jl777 (sprnt) [4:47 AM]
so the InstantDEX + MGW is part of the solution along with BBR
js.galt (sprnt) [5:06 AM]
onramp/ offramp ?
jl777 (sprnt) [5:17 AM]
from the public blockchain into the Teleport system
js.galt (sprnt) [5:46 AM]
what risks or threats is it vulnerable to?
jl777 (sprnt) [5:54 AM]
bitcoin is fully identifiable so imagine having big brother find out exactly when and where you made a deposit into the teleport system (or withdraw)
jl777 (sprnt) [5:54 AM]
it is like a windowless building with a door
jl777 (sprnt) [5:55 AM]
and if you are coming in or out of that door, then the cameras can see you
jl777 (sprnt) [5:55 AM]
once inside the building, then it is not visible
jl777 (sprnt) [5:55 AM]
so the Teleport system is like the inside of the building
jl777 (sprnt) [5:56 AM]
but the doors need to be made a bit more clever
jl777 (sprnt) [5:56 AM]
like not having doors
js.galt (sprnt) [6:14 AM]
I want to clarify how I use the words security and privacy, so we can talk about the same things. Security to me means the degree to which you can keep others from taking your property. This includes pass words, and private keys.
Privacy means to what degree you can keep information from being leaked. You would still have the information, but so would people whom you don't want to share it with.
From your responce, I gather this is a privacy / informaion leak issue.
So, assuming everyone was using tor and a vpn. would this onramp/oframp problem still exist?
js.galt (sprnt) [6:14 AM]
well, assuming tor was secure
jl777 (sprnt) [6:16 AM]
tor has almost half a millions lines of code, I have no idea all the things it is doing, so I cannot speak to it. I do know that there are specific exploits using Tor to steal crypto, so Tor should not be used for crypto.
jl777 (sprnt) [6:16 AM]
you are correct that I am talking about privacy
jl777 (sprnt) [6:16 AM]
Tor is trying to solve a much harder problem, similar to an invisibility suit
jl777 (sprnt) [6:17 AM]
they actually have these now where fiberoptics are bending the light around so it looks like you are seeing through it
jl777 (sprnt) [6:17 AM]
but there are always seams
jl777 (sprnt) [6:17 AM]
I think Tor is like that. for most uses it is fine, until its not.
jl777 (sprnt) [6:17 AM]
so I made a design choice to not even try to be invisible out in the open
jl777 (sprnt) [6:18 AM]
but by controlling the problem it is making it a much simpler task of creating a private "doorway"
jl777 (sprnt) [6:18 AM]
like what if you didnt have to use the door at all?
jl777 (sprnt) [6:18 AM]
the cryptonote tech is such a mechanism
jl777 (sprnt) [6:19 AM]
so cryptonote into the windowless building and cryptonote out
jl777 (sprnt) [6:19 AM]
now it is a way for privacy even with the entering and exiting
jl777 (sprnt) [6:19 AM]
However, keep in mind that it is impossible for 100% privacy
jl777 (sprnt) [6:20 AM]
you can always be put under physical surveillance
jl777 (sprnt) [6:20 AM]
so my goal is to make it more cost effective to use physical surveillance than automatic capture the internet, treat everybody as guilty until lawyers are paid enough money world that we have now
jl777 (sprnt) [6:21 AM]
it is against all decency for all communications to be monitored
jl777 (sprnt) [6:21 AM]
and guilt presumed without any due process
jl777 (sprnt) [6:21 AM]
and analyzed
jl777 (sprnt) [6:21 AM]
and then if you are having the money, you can break all sorts of rules without any real consequence
jl777 (sprnt) [6:22 AM]
if you dont have the money, then some harmless thing you are doing is equated to horrible crimes and maybe you are disappeared into some horrible place
jl777 (sprnt) [6:23 AM]
using the internet is a great convenience, but there is the loss of privacy
jl777 (sprnt) [6:23 AM]
so it is vital to make sure that all the steps are taken and then when it is all put together to be closely analyzed and tested
jl777 (sprnt) [6:24 AM]
this is a process, but at least we are starting to fight back against the global surveillance state that we currently have
js.galt (sprnt) [6:28 AM]
amen
jl777 (sprnt) [6:28 AM]
what was the question?
js.galt (sprnt) [6:28 AM]
its about raising reasonable doubt.
js.galt (sprnt) [6:28 AM]
haha
js.galt (sprnt) [6:29 AM]
uhm basically. is the information leak, ip correlation?
jl777 (sprnt) [6:33 AM]
yes
jl777 (sprnt) [6:33 AM]
ip <-> geolocation <-> you
jl777 (sprnt) [6:33 AM]
so if ip <-> crypto account
jl777 (sprnt) [6:33 AM]
this means crypto account <-> you
js.galt (sprnt) [6:38 AM]
ok, that works for me. Trying to picture how all of supernet works together in my mind, waw, its very complex.
leathan (sprnt) [8:41 AM]
lol
leathan (sprnt) [8:41 AM]
i laugh at myself when i try to picture it because of how bad i do it :S
leathan (sprnt) [8:42 AM]
fucked up data go everywhere!!! user insert key -> YAY
leathan (sprnt) [8:42 AM]
see.. i have to laugh :S
damon (sprnt) [9:01 AM]
@leathan: :simple_smile:
js.galt (sprnt) [12:01 PM]
lol
js.galt (sprnt) [12:01 PM]
@jl777: any thoughts on how to deal with blockchain bloat that seems inherant to cryptonote tech?