Bitcoin Forum
May 02, 2024, 05:31:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to increase transaction file size?  (Read 166 times)
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 405
Merit: 5


View Profile WWW
June 22, 2018, 06:27:56 AM
 #1

I found that when try to send big number like 300,000 coin at once, then daemon become slow, then error says transaction size limit is over.

So I think this because, wallet try to gather many address's balance to make total 300,000, so when it become exceed size, then it errors, right?

So how can I increase this size at sourcecode?

1714627907
Hero Member
*
Offline Offline

Posts: 1714627907

View Profile Personal Message (Offline)

Ignore
1714627907
Reply with quote  #2

1714627907
Report to moderator
1714627907
Hero Member
*
Offline Offline

Posts: 1714627907

View Profile Personal Message (Offline)

Ignore
1714627907
Reply with quote  #2

1714627907
Report to moderator
1714627907
Hero Member
*
Offline Offline

Posts: 1714627907

View Profile Personal Message (Offline)

Ignore
1714627907
Reply with quote  #2

1714627907
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714627907
Hero Member
*
Offline Offline

Posts: 1714627907

View Profile Personal Message (Offline)

Ignore
1714627907
Reply with quote  #2

1714627907
Report to moderator
1714627907
Hero Member
*
Offline Offline

Posts: 1714627907

View Profile Personal Message (Offline)

Ignore
1714627907
Reply with quote  #2

1714627907
Report to moderator
1714627907
Hero Member
*
Offline Offline

Posts: 1714627907

View Profile Personal Message (Offline)

Ignore
1714627907
Reply with quote  #2

1714627907
Report to moderator
mocacinno
Legendary
*
Offline Offline

Activity: 3374
Merit: 4919


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
June 22, 2018, 06:38:59 AM
Merited by ABCbits (1)
 #2

I found that when try to send big number like 300,000 coin at once, then daemon become slow, then error says transaction size limit is over.

So I think this because, wallet try to gather many address's balance to make total 300,000, so when it become exceed size, then it errors, right?

So how can I increase this size at sourcecode?



Which wallet are you using? I vaguely remember bitcoin core used to have a 100 kb limit, but afaik it has been removed a long time ago.
Offcourse, with a non-segwit wallet, the maximum transaction size is 1Mb, with a segwit wallet the size of the transaction without the witness data is 1Mb.

BTW: it doesn't matter how much BTC you're trying to spend. It matters how many unspent outputs you're using as an input to create the transactions, and how many addresses you're funding (how many new unspent outputs will be created by the new transaction).

If you use 100 unspent outputs with a value of 0.001 BTC as an input for a transaction with 1 output, the transaction will have about the same size as when you're using 100 unspent outputs with a value of 1 BTC as an input and 1 output (eventough the maximum output value of the first transaction would be <0.1BTC while the value of the second one would be < 100 BTC).

A workaround for your problem would probably be to combine unspent outputs first.
For example, you have 1000 unspent outputs and need them to fund 1ReceivingAddress.
If the transaction using the 1000 unspent outputs as an input is to large, you can create 5 new addresses and fund them using 200 of your unspent outputs. Once those 5 transactions are confirmed, your wallet now holds 5 unspent outputs instead of 1000, so the transaction funding 1ReceivingAddress will use 5 unspent outputs as an input and will be relatively small.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4613



View Profile
June 24, 2018, 04:26:51 PM
Merited by Foxpup (2)
 #3

I found that when try to send big number like 300,000 coin at once, then daemon become slow, then error says transaction size limit is over.


Somehow I doubt that you have access to 300,000 BTC that you can try to send.

If this is an altcoin question, then you'll need to move this thread to the altcoin sub-forum.  Altcions do lots of dumb things when they alter the code and they often break stuff.
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!