Bitcoin Forum
May 13, 2024, 06:15:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Noob needs help connecting to node  (Read 160 times)
dademagorgin (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 4


View Profile
October 02, 2022, 04:30:06 AM
 #1

Just registered here and new to the eco-system.

Apologies in advance for stupid questions.

I want to programmatically establish a connection to a node using a Go RPC client as outlined here:
https://github.com/btcsuite/btcd/blob/master/docs/json_rpc_api.md#9-example-code

However, I do not wan't to run my own node.

I wan't to connect to someones' already running node.

I found some nodes I may wan't to connect to here:
https://bitnodes.io/nodes/?q=United%20States

So looks like I need a valid:
- rpc.cert
- rpcuser
- rpcpass

What is the standard procedure for obtaining these for a node that I am not running?

Is this even something I can do?

Thanks!

1715624126
Hero Member
*
Offline Offline

Posts: 1715624126

View Profile Personal Message (Offline)

Ignore
1715624126
Reply with quote  #2

1715624126
Report to moderator
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10558



View Profile
October 02, 2022, 04:51:37 AM
Merited by ABCbits (1)
 #2

You can't make RPC calls to someone else's node. The only things accessible to third parties are the messages defined in the P2P protocol (eg. getting block headers, blocks, mempool transactions, etc pushing transactions, new blocks, etc.). https://en.bitcoin.it/wiki/Protocol_documentation

If you tell us what you want to achieve after connecting to someone else's node we may be able to help you better.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
citb0in
Hero Member
*****
Offline Offline

Activity: 672
Merit: 657


Bitcoin g33k


View Profile
October 02, 2022, 03:12:09 PM
Merited by LFC_Bitcoin (1)
 #3

I could allow you to connect to my node providing valid RPC credentials. But tell me why I should do that, what is the reason you're asking, what's your goal?

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
dademagorgin (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 4


View Profile
October 02, 2022, 09:39:48 PM
Merited by LoyceV (4)
 #4

My goal is to write a small POC app for aggregating metrics like:
- count of new wallets created within a particular time range
- count of wallets within a particular time range with balances > X
and many more metrics like this for the purpose of gauging global interest/activity in Bitcoin at any given time.

The reason I didn't wan't to run a full node on my local machine is because it doesn't stay up and I wanted a node w/reliable uptime so I could get more up-to-date chain data.

I realize I can just rent a compute instance from a cloud provider and run a full node on that but then I would have to spend money.

It looks like that's going to be the best solution for me and I should just stop being so cheap.

Alternatively, do guys know of any online services that already provide this information? What do you guys use?
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10558



View Profile
October 03, 2022, 04:07:02 AM
Merited by LoyceV (4), dademagorgin (2), ABCbits (1)
 #5

- count of new wallets created within a particular time range
- count of wallets within a particular time range with balances > X
and many more metrics like this for the purpose of gauging global interest/activity in Bitcoin at any given time.
This is not something that anybody can measure because "wallets" don't exist in the protocol. In other words a wallet is something private that contains multiple keys that may not have any connection to each other.

The only thing you can measure is number of addresses being used and their balance (which is not something you could do using RPC calls or a regular node for that matter). The problem with this is that one person/wallet can have multiple addresses so the accuracy of the results regarding adoption decrease.

The only way to do this is to run your own modified node so that it indexes your database based on addresses so that you can search and analyze it.

Alternatively, do guys know of any online services that already provide this information? What do you guys use?
Block explorers like https://blockchair.com usually have this kind of data which is usually found among their charts.
Like this: https://www.blockchain.com/charts/n-unique-addresses

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16655


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
October 03, 2022, 07:21:28 AM
 #6

My goal is to write a small POC app for aggregating metrics like:
- count of new wallets created within a particular time range
- count of wallets within a particular time range with balances > X
and many more metrics like this for the purpose of gauging global interest/activity in Bitcoin at any given time.
Maybe Bitcoin block data: inputs, outputs and transactions is what you're looking for. If you tell me exactly what you need, I can save you the 700 GB download and extract only that data.

Quote
The reason I didn't wan't to run a full node on my local machine is because it doesn't stay up and I wanted a node w/reliable uptime so I could get more up-to-date chain data.
Well, there's a problem: my data isn't real-time, updates are only daily.

NeuroticFish
Legendary
*
Offline Offline

Activity: 3668
Merit: 6394


Looking for campaign manager? Contact icopress!


View Profile
October 03, 2022, 07:46:11 AM
 #7

My goal is to write a small POC app for aggregating metrics like:
- count of new wallets created within a particular time range
- count of wallets within a particular time range with balances > X
and many more metrics like this for the purpose of gauging global interest/activity in Bitcoin at any given time.

The reason I didn't wan't to run a full node on my local machine is because it doesn't stay up and I wanted a node w/reliable uptime so I could get more up-to-date chain data.

My advice is to start with reading much more about bitcoin. No offense, but you seem to need that.
As said, the blockchain doesn't tell anything about wallets, also a "new" address is not registered anywhere, so nobody knows (except the owner) that it's created.

And if you have missed this, I expect you'd be missing other info too, getting you into various mistakes or even paying big money for a cloud service that won't help you.
So: learn more, it may save you money.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
n0nce
Hero Member
*****
Offline Offline

Activity: 882
Merit: 5829


not your keys, not your coins!


View Profile WWW
October 04, 2022, 12:02:15 AM
 #8

My goal is to write a small POC app for aggregating metrics like:
- count of new wallets created within a particular time range
- count of wallets within a particular time range with balances > X
and many more metrics like this for the purpose of gauging global interest/activity in Bitcoin at any given time.

The reason I didn't wan't to run a full node on my local machine is because it doesn't stay up and I wanted a node w/reliable uptime so I could get more up-to-date chain data.

My advice is to start with reading much more about bitcoin. No offense, but you seem to need that.
As said, the blockchain doesn't tell anything about wallets, also a "new" address is not registered anywhere, so nobody knows (except the owner) that it's created.

And if you have missed this, I expect you'd be missing other info too, getting you into various mistakes or even paying big money for a cloud service that won't help you.
So: learn more, it may save you money.
I agree, and suggest starting with: https://aantonop.com/books/mastering-bitcoin/
Read for free, directly on GitHub here: https://github.com/bitcoinbook/bitcoinbook/#chapters

Andreas also has some good educational video material:
Bitcoin for Beginners Playlist: Intro to Bitcoin, Satoshi, Security, Mining and More

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!