Search content
Sort by

Showing 9 of 9 results by pireff
Post
Topic
Board Development & Technical Discussion
Re: Orphaned blocks detection
by
pireff
on 17/11/2019, 07:33:53 UTC
it's running quite fast actually, but i need an explanation on how exactly i can detect orphans, and mark them as so.

Yes, it is running fast but, why do you wan to detect is as you can see last 2 years there are zero orphan blocks mined. You can check all the details of the orphan block in the link below:
https://www.blockchain.com/charts/n-orphaned-blocks?timespan=all

Also, here are all the blocks that are "mined but ultimately not attached to the main Bitcoin blockchain".
https://api.blockchain.info/charts/n-orphaned-blocks?timespan=all&scale=1&format=json
That's wrong. Orphan blocks still occur once in a while but they are less common with the better connection between the mining pools. Mining pools are often listening directly to each other and thus it is less likely for orphans to occur.  It was more common in the past whereby the propagation of the network was much slower.

True, I first thought to exclude them from the main explorer chain, but still preserve them, to show as an additional feature, kinda of what blockchain.info does. But, as you said, when syncing the bitcoin client receives no orphan blocks, so I will either need a very long running daemon, or some kind of patch on the current source. So I finally decided to just exclude them.

I see that happening the following way. I'm currently syncing at 0.5 sec intervals, so after every sync I check 101 blocks behind. If confirmations parameter returned by the daemon is -1, i'm removing all blocks ahead and the current one, reverting all transactions and addresses, and resyncing.

In my above strategy, I'm assuming that forks of orphans beyond 101 blocks will not happen, atleast not practically. If that's not the correct way to do that, I accept constructive criticism.
Post
Topic
Board Development & Technical Discussion
Topic OP
Orphaned blocks detection
by
pireff
on 09/11/2019, 20:06:47 UTC
Hello Bitcointalk members, as it's apparent from the title, i need a reliable way to detect orphan blocks. I wrote a custom explorer, and it's running quite fast actually, but i need an explanation on how exactly i can detect orphans, and mark them as so.

What the longest chain fork due to orphan blocks is?
If on every block sync, i check the last 1000 blocks, is that enough to assume that every block beyond these 1000 is NOT an orphan?
Is the -1 confirmations the only way to detect them?

Admins, if this post is not for this board/section, feel free to move it
Post
Topic
Board Project Development
Block explorer developer needed!
by
pireff
on 11/11/2018, 00:00:09 UTC
Hi, i'm in search for a developer who can write a simple, stable block explorer in NodeJS/PHP. Payment details are discussed in private! Features that MUST be implemented are:

- Recent blocks
- Recent transactions
- Address details
- Block details
- Transaction details
-API
- Connection count, Block number, Masternode count,
-Difficulty, Hashrate to be displayed at the index page as well as accessible throu API

Contact - ARSC Dev#9735 at Discord!
Post
Topic
Board Project Development
Re: Instant Exchange script
by
pireff
on 21/10/2018, 23:46:56 UTC
Hello, does anyone have an instant exchange script using changelly or shapeshift api with a basic ui?

Hi, can we connect on Discord? DEV#3821

I don't use discord.

Okay, give me some chat platform you use.
Post
Topic
Board Project Development
Re: Instant Exchange script
by
pireff
on 21/10/2018, 22:57:50 UTC
Hello, does anyone have an instant exchange script using changelly or shapeshift api with a basic ui?

Hi, can we connect on Discord? DEV#3821
Post
Topic
Board Announcements (Altcoins)
Re: [RE-ANN][UPDATED][X16R][LIMITED-PRESALE] LumoCash - A Flawless Cryptocurrency
by
pireff
on 10/10/2018, 13:35:27 UTC
This is a pure scam and copy of the original LumoCash project.

Check https://lumo.cash and original BitcoinTalk:
https://bitcointalk.org/index.php?topic=3742403.0

Where is your project defined as LumoCash?
Post
Topic
Board Announcements (Altcoins)
Re: [RE-ANN][UPDATED][X16R][LIMITED-PRESALE] LumoCash - A Flawless Cryptocurrency
by
pireff
on 10/10/2018, 12:45:04 UTC
Seems like a very interesting and well designed project! Good luck!
Post
Topic
Board Project Development
Re: Help me DESTROY Bitcoin!
by
pireff
on 11/09/2018, 06:46:50 UTC
Let's connect and have a chat about it ? I think i might be able to cide it per your requirements.
Post
Topic
Board Project Development
Re: Need to idea for start bitcoin project with 20 BTC!
by
pireff
on 30/08/2018, 12:08:11 UTC
Hello , i work on an interesting crypto related project , maybe you can try it out ? If you like it then we can work something out !