Bitcoin Forum
May 10, 2024, 05:45:01 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: .NET Blockchain Parser  (Read 4654 times)
doof
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
December 02, 2014, 04:21:49 AM
 #21

The couple WPF and Peer-2-Peer sound great but it is no real. If you want a p2p app you have to open a tcp socket.

WCF, not WPF.  WCF on IIS for a bitcoind / daemon replacement.

http://msdn.microsoft.com/en-us/library/cc297274.aspx

Yes, I made a mistake when I said WPF instead of WCF however I am right when I say WCF is not a real option. You can share with me a lot of links to msdn and that won't change my opinion. Have you ever seen a p2p app developed with wcf? No real software uses wcf, they use sockets instead.
True, I havent seen any p2p wcf in the wild.

Can you put a sample block in github?
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715319901
Hero Member
*
Offline Offline

Posts: 1715319901

View Profile Personal Message (Offline)

Ignore
1715319901
Reply with quote  #2

1715319901
Report to moderator
1715319901
Hero Member
*
Offline Offline

Posts: 1715319901

View Profile Personal Message (Offline)

Ignore
1715319901
Reply with quote  #2

1715319901
Report to moderator
lontivero (OP)
Full Member
***
Offline Offline

Activity: 164
Merit: 128

Amazing times are coming


View Profile
December 02, 2014, 05:11:51 AM
 #22

The couple WPF and Peer-2-Peer sound great but it is no real. If you want a p2p app you have to open a tcp socket.

WCF, not WPF.  WCF on IIS for a bitcoind / daemon replacement.

http://msdn.microsoft.com/en-us/library/cc297274.aspx

Yes, I made a mistake when I said WPF instead of WCF however I am right when I say WCF is not a real option. You can share with me a lot of links to msdn and that won't change my opinion. Have you ever seen a p2p app developed with wcf? No real software uses wcf, they use sockets instead.
True, I havent seen any p2p wcf in the wild.

Can you put a sample block in github?

I have an abandoned project that is not the best example https://github.com/lontivero/peer2net (I have to redo it some day)
doof
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
December 02, 2014, 05:41:05 AM
 #23

The couple WPF and Peer-2-Peer sound great but it is no real. If you want a p2p app you have to open a tcp socket.

WCF, not WPF.  WCF on IIS for a bitcoind / daemon replacement.

http://msdn.microsoft.com/en-us/library/cc297274.aspx

Yes, I made a mistake when I said WPF instead of WCF however I am right when I say WCF is not a real option. You can share with me a lot of links to msdn and that won't change my opinion. Have you ever seen a p2p app developed with wcf? No real software uses wcf, they use sockets instead.
True, I havent seen any p2p wcf in the wild.

Can you put a sample block in github?

I have an abandoned project that is not the best example https://github.com/lontivero/peer2net (I have to redo it some day)

Ok.  Ill be using a project like this and bitcoind in the short term.  What happens if the processor is rerun, will duplicates be added?  Could the block hash be a primary key to stop duplicates?
doof
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
December 02, 2014, 06:46:18 AM
Last edit: December 03, 2014, 03:28:04 AM by doof
 #24

Difficulty isn't correct
doof
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
December 04, 2014, 12:20:41 AM
 #25

This project has saved me a bunch of time, and we seem to both have the same goal.

Not a lot of btc, but I sent you a tip.  Thanks.
lontivero (OP)
Full Member
***
Offline Offline

Activity: 164
Merit: 128

Amazing times are coming


View Profile
December 04, 2014, 12:22:45 AM
 #26

This project has saved me a bunch of time, and we seem to both have the same goal.

Not a lot of btc, but I sent you a tip.  Thanks.

I saw it and appreciate it. Thx
doof
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
December 10, 2014, 12:42:40 AM
 #27

I wrote this C# code to calculate the hash too https://bitcointalk.org/index.php?topic=888078.0

Might be worth adding a column in the block table to contain the hash.  Seperate thread can hash the block, and then could reference one block to another.
Martijnvdc
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
December 10, 2014, 08:49:17 PM
 #28

Thank you very much. I like the license!
Anti-Cen
Member
**
Offline Offline

Activity: 210
Merit: 26

High fees = low BTC price


View Profile
January 14, 2018, 01:10:24 AM
 #29

the github repo: https://github.com/lontivero/BlockchainParser

If you find it interesting and want to collaborate then please do it.


Nice code friend and I did a hatchet job on the code but it does not work on the block.dat
I am using because I think it's been change over these days to use Berkeley-DB format
for the files but useful code none the less and well written

See https://bitcointalk.org/index.php?topic=2748620.new#new

Small, simple and easy to follow and is a good starting point for anyone going down this road

Mining is CPU-wars and Intel, AMD like it nearly as much as big oil likes miners wasting electricity. Is this what mankind has come too.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!