Bitcoin Forum
April 26, 2024, 06:50:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Configure Core not to download blocks or relay tx automatically  (Read 659 times)
readyrocky (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 5


View Profile
January 24, 2017, 06:48:31 PM
Merited by ABCbits (1)
 #1

More basically: how can I broadcast a tx without having to bear with the burden of a full node and without relying to public APIs?

Can this be achieved with Core and some confs like -prune:<N> ?
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
unholycactus
Legendary
*
Offline Offline

Activity: 1078
Merit: 1023



View Profile WWW
January 24, 2017, 07:08:24 PM
 #2

You can't use Bitcoin Core properly if it isn't synced i.e. you've downloaded all the blocks at least once.
Pruning can be used but you still need to be downloading the new blocks, less space is required if that's what you're looking for.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
January 24, 2017, 07:20:46 PM
 #3

You cannot have Core function properly without downloading all of the blocks. You can enable pruning so that it does not take up as much space, but it will still need to download and verify all of the blocks before discarding them. This will still take up a lot of bandwidth though.

You can run Bitcoin Core in blocksonly mode (with the -blocksonly option) where it will not download, verify, or relay any unconfirmed transactions. It will still need to download confirmed transactions as those are part of blocks.

gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
January 25, 2017, 06:33:41 AM
Merited by ABCbits (1)
 #4

https://github.com/laanwj/bitcoin-submittx
readyrocky (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 5


View Profile
January 26, 2017, 09:51:29 AM
 #5


Thanks a lot!
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!