Bitcoin Forum
May 05, 2024, 04:42:00 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Could a bitcoin client be done in javascript?  (Read 799 times)
remotemass (OP)
Legendary
*
Offline Offline

Activity: 1117
Merit: 1016


ASMR El Salvador


View Profile WWW
February 27, 2013, 06:31:06 PM
 #1

Could a bitcoin client be done in javascript, using WebGL to access the GPU for processing/mining?

{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
1714927320
Hero Member
*
Offline Offline

Posts: 1714927320

View Profile Personal Message (Offline)

Ignore
1714927320
Reply with quote  #2

1714927320
Report to moderator
1714927320
Hero Member
*
Offline Offline

Posts: 1714927320

View Profile Personal Message (Offline)

Ignore
1714927320
Reply with quote  #2

1714927320
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714927320
Hero Member
*
Offline Offline

Posts: 1714927320

View Profile Personal Message (Offline)

Ignore
1714927320
Reply with quote  #2

1714927320
Report to moderator
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
February 27, 2013, 06:37:45 PM
 #2

Could a bitcoin client be done in javascript,

Yes.

http://Blockchain.info/wallet and Strongcoin are two Javascript-based wallets that do all the crypto in Javascript on the browser.  http://brainwallet.org/#tx would be such a client too I suppose.  They do send the transaction to a hosted service which then broadcasts the transaction.

using WebGL to access the GPU for processing/mining?

As a neat idea, yes that could be (and has been) done.

As a business proposition.  Bad idea.  Read up on ASICs.


Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


remotemass (OP)
Legendary
*
Offline Offline

Activity: 1117
Merit: 1016


ASMR El Salvador


View Profile WWW
February 27, 2013, 06:46:14 PM
 #3

I know about ASICs but I was thinking in terms of something comparable to 'Satoshi client'.

{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
Pages: [1]
  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!