Bitcoin Forum
May 28, 2024, 01:40:07 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
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 »
1  Alternate cryptocurrencies / Mining (Altcoins) / messing around with forking: cpu mine a valid block by hand (no pool, no solo) on: August 01, 2019, 07:34:23 AM
I've been messing around with blockchain technology for a while now... Creating my own (private) coins cloned from litecoin to learn a bit. I'm not a shitcoin coder, nor do i plan to become one... My coins are usually private, or shared with a very limited number of people, not that premined ICO crap intended to line the pockets of the devs so they can run away with peoples money.

Mind you, i'm not a programmer, i do script once in a while (python, php, perl), so i do know how to read litecoin's sourcecode... However, editing the sourcecode itself is always a pain.

I've recently cloned a private coin using LTC 0.17 as a starting point, i generated a couple thousand blocks (using the generate rpc) and now i wanted to try to create a fork at height 701...
Theoretically, i know what to do:
  • use the rpc "getblockhash 700" to get the hash of block 700
  • use the rpc "getblock <hash>" to get the difficulty which was applicable at height 700 (and since there was no diff retarget at this point, this diff should also be valid for height 701)
  • generate a coinbase transaction and find the merkle root of this transaction
  • using the blockhash of block 700 and  the merkle root, iterate trough the nonces to find a new block header whose scrypt hash is under the target (target can be calculated by using the difficulty)
  • actually create the block at height 701 by combining the coinbase transaction and the block header i just found by iterating trough the nonces
  • Add a checkpoint to my sourcecode with the hash i found for height 701, compile, make sure all my nodes are running the new version
  • using the rpc "submitblock" to submit block height 701

The problem is that i'm not a programmer, i can't wrap my head around writing a script that actually takes the difficulty, previous block header and one of my addresses as input, then creates a coinbase tx, a merkle root, a header, iterates trough the nonces untill scrypt(header) < Target, then returns the hex of the valid block so i can include a checkpoint and submit the block.

Is there anybody who has such a script somewhere on his shelve, or is able to point a relatively tech-savvy NON-programmer towards some documentation or half-finished project i can use?
2  Other / Meta / Re: There's Anomaly happening on airdrops!! check this and Beware! on: October 05, 2017, 11:25:59 AM
Thanks for bringing this to my attention, it seems the campaign manager really screwed this one up... My name is indicated in green and i want to publicly state i have NOT joined this campaign!!!

I am NOT the owner of address 0x80CBB2aDaC9acDa1B50f59f6A648599e2EEc50f4
I have never been the owner of address 0x80CBB2aDaC9acDa1B50f59f6A648599e2EEc50f4
I will never be the owner of address 0x80CBB2aDaC9acDa1B50f59f6A648599e2EEc50f4
http://prntscr.com/gtk5j3
so I select have confirmed their participation
if you look carefully,your name just used a cheater

I'm sorry, but i have a hard time understanding this explanation.
Do you mean to say you received a confirmation from me, or that you labelled me a cheater?

I'd have to disagree with both statements, unless my account was hacked there shouldn't have been any confirmations being sent with my account, and i can honestly say i haven't cheated anybody.
3  Other / Meta / Re: There's Anomaly happening on airdrops!! check this and Beware! on: October 05, 2017, 11:18:15 AM
Thanks for bringing this to my attention, it seems the campaign manager really screwed this one up... My name is indicated in green and i want to publicly state i have NOT joined this campaign!!!

I am NOT the owner of address 0x80CBB2aDaC9acDa1B50f59f6A648599e2EEc50f4
I have never been the owner of address 0x80CBB2aDaC9acDa1B50f59f6A648599e2EEc50f4
I will never be the owner of address 0x80CBB2aDaC9acDa1B50f59f6A648599e2EEc50f4
4  Economy / Services / Re: [CONTEST][All Users] $250 BTC Signature Campaign | Ends 9/17/2017 on: July 17, 2017, 09:33:29 AM
I have some questions, not everything is completely clear to me...
1) is this some sort of lottery, or are you offering $250 for every member that puts your sig on his/her profile (seems unlikely)
2) if it's some sort of lottery, will you make it provably fair
3) will the $250 be escrowed?
4) is there a minimum amount of posts?

1) Its a lottery contest only 1 person will get the $250
2) Yes at the end of the contest I will livestream the picked number via random.org using twitch.tv
3) It can be escrowed (I will send it into escrow after 5 sign ups)
4) You must be active (10 post/day)


Thanks for the clarification... I wish you good luck with your campaign, personally i will not try to enroll since i don't have enough time to make 10 posts/day for 2 months (so 620 posts) while at the same time also being active in your discord channel and having to come up with 62 posts promoting your service in order to have a chance of winning $250.
5  Economy / Services / Re: [CONTEST][All Users] $250 BTC Signature Campaign | Ends 9/17/2017 on: July 17, 2017, 09:17:50 AM
I have some questions, not everything is completely clear to me...
1) is this some sort of lottery, or are you offering $250 for every member that puts your sig on his/her profile (seems unlikely)
2) if it's some sort of lottery, will you make it provably fair
3) will the $250 be escrowed?
4) is there a minimum amount of posts?
6  Bitcoin / Pools / Re: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: July 07, 2017, 08:06:15 AM
I tried to replicate the problem i had while merge mining, but since it took to long to re-sync a bitcoin node, i tried to merge mine DASH + UNITUS...
Had something strange that i can't seem to get fixed, can somebody push me in the right direction?
I haven't merge-mined in a long time, but I remember having to set different RPC ports for each coin. Is that still needed?

Well, i have tried two merge mining setups, the first one couldn't find a share if it's life depended on it, the second one seems to be misconfigured, so i might not be the right person to give advice here... But if i did the setup more or less correct, you can set an rpcport if you want to, but if there is no conflict when using the default rpc port, it's not really necessary.
7  Bitcoin / Pools / Re: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: July 06, 2017, 06:45:30 AM
I tried to replicate the problem i had while merge mining, but since it took to long to re-sync a bitcoin node, i tried to merge mine DASH + UNITUS...
Had something strange that i can't seem to get fixed, can somebody push me in the right direction?

Setup: ubuntu 16.04 LTS
dash and unitus compiled, daemon running, sync'ed

cat ~/.dashcore/dash.conf
Code:
rpcuser=dashrpc
rpcpassword=[redacted]
server=1
daemon=1
rpcallowip=127.0.0.1

cat ~/.unitus/unitus.conf
Code:
rpcuser=unitusrpc
rpcpassword=[redacted]
server=1
daemon=1
rpcallowip=127.0.0.1

p2pool version: https://github.com/dashpay/p2pool-dash
p2pool started :
Code:
 
python run_p2pool.py --merged http://unitusrpc:[redacted]@127.0.0.1:50604/ --give-author 0.5 -f 0.5

My p2pool log:
Code:
2017-06-29 08:51:53.542922 GOT SHARE! [redacted] [redacted] prev [redacted] age 23.16s
2017-06-29 08:51:53.558159 New work for worker [redacted]! Difficulty: 0.999985 Share difficulty: 69.384484 Block [redacted] Total value: 3.603449 DASH including 3 transactions
2017-06-29 08:51:53.567219 P2Pool: 8689 shares in chain (7825 verified/8694 total) Peers: 12 (6 incoming)
2017-06-29 08:51:53.567285  Local: 2503MH/s in last 15.4 seconds Local dead on arrival: ~0.0% (0-30%) Expected time to share: 21.6 minutes
2017-06-29 08:51:53.567323  Shares: 1 (0 orphan, 0 dead) Stale rate: ~0.0% (0-80%) Efficiency: ~110.0% (22-111%) Current payout: (0.0000)=0.0000 DASH
2017-06-29 08:51:53.567366  Pool: 267GH/s Stale rate: 9.1% Expected time to block: 1.2 hours
2017-06-29 08:51:53.575882 > Merged block submittal result: False Expected: True

The last line drew my attention, every 30-40 minutes i got a line just like it "Merged block submittal result: False Expected: True"


So i dug into the unitus debug log and found following things:
Code:
2017-06-29 09:06:09 CreateNewBlock(): total size 1000, nVersion 10158082
2017-06-29 09:10:43 UpdateTip: new best=16bb343c4ab1bb4c683e7049337143e9ebec89025fa185df5e5c8f9f70084947 height=1027199 log2_work=252.30016 tx=1264450 algo=4 (X11) date=2017-06-29 09:06:1$
2017-06-29 09:10:43 ProcessBlock: ACCEPTED
2017-06-29 09:10:43 CreateNewBlock(): total size 1000, nVersion 10158082
2017-06-29 09:11:29 DEBUG| UnitusMiner:
2017-06-29 09:11:29 DEBUG| proof-of-work submitted
  algo: 0
block-PoWhash: 4b3d2ac518cbf707a2c282ff9156ba3b20989f3474ed96071e88d84849a62242
block-hash: 9c423199fdb84de374985d32e84c12f3b3cf9c417a919128bf2a9d038062a0ae
  ntarget: 000000000049053b000000000000000000000000000000000000000000000000
2017-06-29 09:11:29 ERROR: AUX POW parent hash b306269522cdf39fa8f65a75384aaa7e00ae9811abf876a83120b4155c2f4406 is not under target 000000000049053b000000000000000000000000000000000000000$
2017-06-29 09:11:47

Could somebody push me in the right direction?
8  Bitcoin / Pools / Re: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: June 26, 2017, 09:26:53 AM
  • I set a 1% pool fee, meaning that if somebody on my node mined a block, i would get a 1% cut... Seems fair. But i've also seen a node setting a +90% fee, does this mean that he gets an equal cut when somebody on an other node finds a block, but when he finds a block he can keep +90% of the block reward?
It is only the percentage of the particular address's earnings, not the whole block reward.

  • i can setup my node so it doesn't broadcast new transactions. If i do this, can i put my own (secret) transactions in a block or do the other nodes also have to know my transactions? I know the chance of hitting a block by yourself are astronomically small, so it's just a theoretical question.
I think the short answer is, yes.

  • Can i prioritise my own transactions, so that if a block gets mined on my node, my own transactions have a better shot of being in this block?
How is this different than the last question?

  • If i find a share at a time when there is a dip in the p2pool network's hashrate (so the diff of the sharechain is lower), does this share have an equal value to a share that is found at a time of high hashrate (so high diff)?
Yes, p2pool is PPLNS regardless of the current difficulty. If the difficulty is high, you find less shares and vice versa.

  • I tried a setup where i merge mined several coins, the log didn't show any errors, but for some reason i didn't find a single share on the BTC sharechain anymore (at the time i should have found 6+ shares, but i didn't find a single one... This could be due to variance, but the odds of this should be small). Is there a potential pitfall i missed when setting up merged mining, or was i just very, very unlucky?
There is not enough information without your logs to answer this question.

Thank you very much for the answers, they were exactly what i needed.

Just to clarify, i tought there was a difference between creating a transaciton and not broadcasting it (so it would only exist in my own mempool) and creating a transaction, broadcasting it, but only prioritizing it on my own node (so it's in the pool's mempool, but it has a higher priority in mine).

About the logs for my merged-mining setup, i can probably re-setup the merged mining and re-run my experiment (i disabled the merged mining setup since i couldn't find any shares), but what basically happened is:

I setup my node, started my daemon, waited untill it synchronised
I setup the merged mining coins, let them synchronise (not at the same time as my main daemon, since the I/O was to high)
I started p2pool in this way:

Code:
python run_p2pool.py -f 1 \
--merged http://[redacted]:[redacted]@[ip]:[port] \
--merged http://[redacted]:[redacted]@[ip]:[port] \
--merged http://[redacted]:[redacted]@[ip]:[port]

Then i tail'ed the log, i saw following things:

Code:
Got new merged mining work!
Pool: [hashrate] Stale rate: [stalerate]% Expected time to block: [x] days
Local: [my own hashrate] in last 0.0 seconds Local dead on arrival: [DOA] Expected time to share: [time to next share in minutes]
Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: [expected payout]

When looking at the merge mined coin's debug log, i could got a line like this all the time:
Code:
CreateNewBlock(): total size [size]

Now, it looks like everything works 100% fine. My hashrate is registered, so i must be sending pseudo-shares. The merged mining also seems to work, since the merged mining daemon asks for a new block all the time... However, i kept running this setup for a couple of hours, and it should have generated 7 or 8 shares (on average) during this time, but it generated 0.
I then stopped p2pool started it without the --merged options, let it run for about the same timeframe and got 6 or 7 shares (can't remember exactly).

The odds of this happening witout any reason seem very small to me, so i must have messed something up...
9  Bitcoin / Pools / Re: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: June 26, 2017, 06:15:16 AM
I'm sorry if these questions have been asked before (i'm pretty sure they should have been answered already), i tried to find the answers, but this thread is alreay more than 700 pages long, so it was TL;DR  Smiley

I tried to setup a p2pool node, rented some hash on miningrigrentals and started playing with the setup, i ran into the following questions:

  • I set a 1% pool fee, meaning that if somebody on my node mined a block, i would get a 1% cut... Seems fair. But i've also seen a node setting a +90% fee, does this mean that he gets an equal cut when somebody on an other node finds a block, but when he finds a block he can keep +90% of the block reward?
  • i can setup my node so it doesn't broadcast new transactions. If i do this, can i put my own (secret) transactions in a block or do the other nodes also have to know my transactions? I know the chance of hitting a block by yourself are astronomically small, so it's just a theoretical question.
  • Can i prioritise my own transactions, so that if a block gets mined on my node, my own transactions have a better shot of being in this block?
  • If i find a share at a time when there is a dip in the p2pool network's hashrate (so the diff of the sharechain is lower), does this share have an equal value to a share that is found at a time of high hashrate (so high diff)?
  • I tried a setup where i merge mined several coins, the log didn't show any errors, but for some reason i didn't find a single share on the BTC sharechain anymore (at the time i should have found 6+ shares, but i didn't find a single one... This could be due to variance, but the odds of this should be small). Is there a potential pitfall i missed when setting up merged mining, or was i just very, very unlucky?
10  Economy / Lending / Re: May someone please lend me 0.01 in bitcoin? on: May 30, 2017, 11:47:54 AM
I found what I think is a great investment opportunity and I would like to put 20 dollars on it at the moment but I can't get any bitcoin for probably about a week.

Repayment should be no later than june 6th.

edit-

if i can not repay you buy june 6th i will give you what i invested in or i could send you a small piece of gold or something alike in the mail.

Since almost all lenders require 120% collateral, in hand, i presume you're going to send $24 worth of gold in the mail to whoever is giving you the loan, and you're going to cover shipping costs both ways? This is going to end up costing you a lot more than the extra intrest...
11  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Launched: PiCoin [POS+POW] [SIGNATURE CAMPAIGN=AIRDROP] on: May 15, 2017, 07:33:32 AM
The whole OP was a bit TL;DR... In short, to participate in the airdrop, i just sign up on https://picoin.club/signup/ and change my signature code, right? Or are there any other hoops i have to jump trough  Wink
Sorry for my ignorance, but i really didn't want to wade trough hundreds of lines of text of the OP, nor did i want to read 106 pages of posts...
12  Bitcoin / Bitcoin Discussion / Re: South Korea Exchange: Yapizon is the latest victim of hackers (2017) on: April 27, 2017, 08:08:15 AM
All of these hacking incidents are not good not only for bitcoin but for any has trust them to put his money I'm waiting to learn the security leak in the measures of this exchange if they will publicize it. I don't know how many exchanges are operating worldwide but it seems to me that the rate of hacking them is increased. I wonder if the abilities of hackers have excelled or if the security measures of many exchanges are obsolete.

I can only imagine that the price rise of bitcoin also encouraged hackers to start hacking exchanges. When 1 BTC was only worth $100 there was less incentive to steal them than when the price is $1300 like it is now.

Next to this, i guess chances that you're right about the security measures are great... Since there are so many unregulated exchanges popping up, there is a big chance that some of them weren't coded with the latest security standards in mind.
13  Economy / Services / Re: Selling Bitcointalk posts on: April 24, 2017, 11:44:56 AM
I'm not interested in this service, since my account isn't enrolled in a signature campaign, so i don't get payed for posting anyways.

That being said, i think it's a grey area...
For both the OP as his clients, this might be a win-win financially... The OP gains more per post as when he would join a sig campaign under his own name, a higher ranked client can make more posts for his sig campaign than he could possibly make by himself.

I'm not sure if this system would be considered cheating by sig campaign managers tough... They pay a (high ranking) member for the space under their sig, and that's what they get... I don't know if there is anything that can be said about "who" wrote the post... The account owner, or a thirth party.

As for the forum quality, a lot depends on the OP... If he has loads of in-depth knowledge about many aspects of the btc ecosystem (technical, altcoins, trading,...) AND he picks a new list of threads for every new client, and he makes sure all posts are unique, on-topic,... I don't know if he would deteriorate the forum quality per sé...

@OP: instead of giving away vouches in private, why don't you make 5 posts for anyone in this thread and post the publicly? That way, anybody can look at your writing style and knowledge.

As a conclusion: i would not want to use this service myself, nor am i certain if this service would be "cheating" sig campaigns, or be considered spamming by DT members... I think the service might be "grey area". That being said, i do wish you the best of luck!
14  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][STONK] StonkaCoin ❂ (Fully Packed) ❂ SHA-256 POW/POS Hybrid ❂ Long-Life ❂ on: April 14, 2017, 09:13:18 AM
Finally, a new coin that doesn't try to pull that ICO crap and can be mined with my old geccoscience... To bad for the premine, but hey, you can't have everything Wink

Going to dust off my stickminers this evening and going to try to mine for a couple of days Smiley
15  Economy / Games and rounds / Re: Action Gamble giveaway 0.0001btc for everyone on: March 16, 2017, 01:21:52 PM
username: merelcoin Smiley
16  Economy / Services / Re: Hi , Read this i need a job :c on: February 17, 2017, 06:59:30 AM
Hi man, i feel for you, but since you're new here, i just wanted to point out that you have posted this question in the wrong subforum...
If you move it to the correct one, you have a much better chance of actually finding someone to hire you.

If i'm not mistaking, this post should be in the services section.
17  Economy / Speculation / Re: When to invest? on: February 07, 2017, 07:23:46 AM
It is my personal belief that in the longrun, BTC will continue to rise.
But like you said: you're a short term investor... I personally don't think there's any way to predict what BTC will do in the short term, so in my opinion, you took an educated guess, and i really hope it pays off for you.
18  Economy / Web Wallets / Re: make web wallet , just question on: February 01, 2017, 02:52:08 PM
I would like to open a discussion about site creation wallet bitcoin
Please moderator to this thread.
This discussion because I think it's good for the members
There is a future in the hands of each and have the opportunity
Thank you
As a security purpose web wallet could be safe instead of others online wallet
~snip~

Is there a difference between a web wallet and an online wallet? I always tought they were synonyms, and that the concept "web wallet" could never be used in the same sentence with the word "safe", unless the word safe is preceeded by the word "un" or "not"
19  Economy / Services / Re: [Flash/MEGAFLASH Signature Campaign] - Members & above only [CLOSED] on: January 23, 2017, 01:56:59 PM
Hi if anyone is owed payments, please send me a pm with amount owed, and payment address. thanks
Every participant is requested to send culexevilman pm with the amount the they owed to be paid.

PM sent, i'm waiting paintiently for now Smiley
20  Economy / Services / Re: Signature Campaign Offering on: January 19, 2017, 07:08:46 AM
I'm also interested in a spot in this campaign, once it opens Smiley
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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!