D3m0nKinGx
|
|
September 27, 2016, 04:13:17 AM |
|
Technical Question for the daemon
Let's say I want to send some coins with a script,
Digicubed sendtoaddress XXXXX 10 coins -> it works
100 coins, it works 1000 coins? No go
I have a script that uses sendtoaddress and sendmany, and it sends 2M+ coins at a time, without a problem. does it give you an error when you issue the sendtoaddress command with 1000 coins?
|
.
| .
| . ▬◇ ▬◇▬◆ ▬◇▬◇▬◆
| .
| | .
| | .
| | .
| . ◇▬ ◆▬◇▬ ◆▬◇▬◇▬
| .
| .
|
|
|
|
linenoise
|
|
September 27, 2016, 04:16:07 AM |
|
error: {"code":-4,"message":"Error: Transaction creation failed "}
Nothing else in debug or anything.
|
|
|
|
D3m0nKinGx
|
|
September 27, 2016, 04:18:28 AM |
|
error: {"code":-4,"message":"Error: Transaction creation failed "}
Nothing else in debug or anything.
did you test it in the console? EDIT: sorry forgot you said daemon lol. uhm...tbh not really sure...check your balances... do the listaccounts command. and possibly move all the coins to the "" account. then try the command
|
.
| .
| . ▬◇ ▬◇▬◆ ▬◇▬◇▬◆
| .
| | .
| | .
| | .
| . ◇▬ ◆▬◇▬ ◆▬◇▬◇▬
| .
| .
|
|
|
|
linenoise
|
|
September 27, 2016, 04:20:00 AM |
|
error: {"code":-4,"message":"Error: Transaction creation failed "}
Nothing else in debug or anything.
did you test it in the console? Yeah, it hangs for quite awhile before giving the error. Spots had mentioned something about byte size, unsure how to change that.
|
|
|
|
iGotSpots
Legendary
Offline
Activity: 2548
Merit: 1054
CPU Web Mining 🕸️ on webmining.io
|
|
September 27, 2016, 04:23:57 AM |
|
Small inputs can put you above byte size. Combine all the small inputs into slightly larger, then those into slightly larger. You can combine up to 876 inputs per block
|
|
|
|
linenoise
|
|
September 27, 2016, 04:25:31 AM |
|
Small inputs can put you above byte size. Combine all the small inputs into slightly larger, then those into slightly larger. You can combine up to 876 inputs per block
Any suggestions on how to do this from the command line / RPC for scripting purposes?
|
|
|
|
D3m0nKinGx
|
|
September 27, 2016, 04:32:01 AM |
|
Small inputs can put you above byte size. Combine all the small inputs into slightly larger, then those into slightly larger. You can combine up to 876 inputs per block
Any suggestions on how to do this from the command line / RPC for scripting purposes? sendmany command. which you can send specific amounts to multiple addresses
|
.
| .
| . ▬◇ ▬◇▬◆ ▬◇▬◇▬◆
| .
| | .
| | .
| | .
| . ◇▬ ◆▬◇▬ ◆▬◇▬◇▬
| .
| .
|
|
|
|
iGotSpots
Legendary
Offline
Activity: 2548
Merit: 1054
CPU Web Mining 🕸️ on webmining.io
|
|
September 27, 2016, 04:55:46 AM |
|
This is more of a sendfrom scenario
|
|
|
|
linenoise
|
|
September 27, 2016, 05:34:04 AM |
|
If my wallet only has one account, only one deposit to it, how would I combine inputs in order to send a small amount like 1000?
Or would a sendmany work here so I could send the 1000 and also send a chunk to another wallet I own?
|
|
|
|
D3m0nKinGx
|
|
September 27, 2016, 05:52:33 AM |
|
If my wallet only has one account, only one deposit to it, how would I combine inputs in order to send a small amount like 1000?
Or would a sendmany work here so I could send the 1000 and also send a chunk to another wallet I own?
Is this a one-time thing or you trying to send random/static amounts on a regular basis? If it's just one-time then just use sendtoaddress <address> <amount> otherwise: sendmany "<account>" '{"<address>":<amount>,"<address>":<amount>,...etc}' 1 "comment"
|
.
| .
| . ▬◇ ▬◇▬◆ ▬◇▬◇▬◆
| .
| | .
| | .
| | .
| . ◇▬ ◆▬◇▬ ◆▬◇▬◇▬
| .
| .
|
|
|
|
iGotSpots
Legendary
Offline
Activity: 2548
Merit: 1054
CPU Web Mining 🕸️ on webmining.io
|
|
September 27, 2016, 06:01:53 AM |
|
Create a new address
sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1 sendfrom oldaddresslabel newaddress 1
sendfrom newaddress oldaddress 1000
|
|
|
|
mrphuong
|
|
September 27, 2016, 03:44:55 PM |
|
|
|
|
|
Nobitcoin
Legendary
Offline
Activity: 966
Merit: 1000
In holiday we trust
|
|
September 27, 2016, 03:55:32 PM |
|
Ouch that must hurt. There's always a positive to a negative now there's less CUBE available to buy. Last count there's only around 200 million available.
|
|
|
|
mrphuong
|
|
September 27, 2016, 04:11:49 PM |
|
Ouch that must hurt. There's always a positive to a negative now there's less CUBE available to buy. Last count there's only around 200 million available. bleutrade, rawx, cryptopia is about 180 million. not much to purchase early price increases, you think like me?
|
|
|
|
iGotSpots
Legendary
Offline
Activity: 2548
Merit: 1054
CPU Web Mining 🕸️ on webmining.io
|
|
September 27, 2016, 04:17:57 PM |
|
If everyone is waiting for someone else to move markets or put up buy support to instill confidence, then it will never move
Even if you low-ball, just to have more BTC on buy side, it will help, even if orders never get filled
|
|
|
|
iGotSpots
Legendary
Offline
Activity: 2548
Merit: 1054
CPU Web Mining 🕸️ on webmining.io
|
|
September 27, 2016, 04:19:19 PM |
|
If everyone is waiting for someone else to move markets or put up buy support to instill confidence, then it will never move
Even if you low-ball, just to have more BTC on buy side, it will help, even if orders never get filled
I've got CUBE to a place where the community needs to help out now. I've spent a lot of time and money getting it this far, now I need you guys to help a little more. We are almost there, the markets are thin and ready to move
|
|
|
|
gregofdoom
Legendary
Offline
Activity: 1834
Merit: 1006
|
|
September 27, 2016, 05:28:47 PM |
|
iGotSpots, You blocked my PM ... please unlock.
|
|
|
|
iGotSpots
Legendary
Offline
Activity: 2548
Merit: 1054
CPU Web Mining 🕸️ on webmining.io
|
|
September 27, 2016, 05:38:02 PM |
|
iGotSpots, You blocked my PM ... please unlock.
If you are curious why, take a look at my trust ratings and search for your username
|
|
|
|
gregofdoom
Legendary
Offline
Activity: 1834
Merit: 1006
|
|
September 27, 2016, 05:43:51 PM |
|
iGotSpots, You blocked my PM ... please unlock.
If you are curious why, take a look at my trust ratings and search for your username I understand, but I would like to write you a few words.
|
|
|
|
iGotSpots
Legendary
Offline
Activity: 2548
Merit: 1054
CPU Web Mining 🕸️ on webmining.io
|
|
September 27, 2016, 05:49:41 PM |
|
Go ahead and write them here, then
|
|
|
|
|