100 PTS - ProtoShares-Qt wallet that will send change to a specified [PAID]

Started by bytemaster, January 04, 2014, 05:27:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FreeTrade

What are you trying to achieve with this? MemoryCoin always sends change to the default or first key in the wallet - quite a small code change to do that, but why the need to specify the key?
"People should be more sophisticated? How are you gonna get that done?" - Jerry Seinfeld reply to Bill Maher

barwizi

removed
static const unsigned int MAX_INV_SZ = 50000;
from main.h unsure how to proceed with

main.h:615:11: error: default argument missing for parameter 3 of 'int64 CTransaction::GetMinFee(unsigned int, bool, unsigned int, GetMinFee_mode) const'

any ideas?
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

5chdn


5chdn

I can do it. what do you need?

Download, compile, test transaction? Will I be refund if I lose PTS?   ;D

barwizi

never mind, got one up now. https://github.com/Nameshar/Proto-coincontrol

can someone help me test this?
Quote from: bytemaster on January 04, 2014, 08:03:13 PM
Quote from: donschoe on January 04, 2014, 08:01:05 PM
This is a huge change in the client and protocol how transactions are processed.

I think this topic is worth ~ 500 PTS. A good approach would be to implement the experimental coin control from bitcoin client.

Read more on "bitcoin coin control" on google.
https://bitcointalk.org/index.php?topic=144331.0
https://github.com/bitcoin/bitcoin/pull/2343

It should just be replacing the change address and nothing on the protocol layer.   I will up the bounty slightly.

lol i wish.
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

barwizi

--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

toast

Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

barwizi

yes, i forked protoshares properly.

mine shows these branches

master
0.6.2
0.7.2
0.6.3
freenode-verf
0.8.1
0.8.3
0.8.5
and psforkinit


--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

toast

Quote from: barwizi on January 05, 2014, 12:02:30 AM
Quote from: toast on January 04, 2014, 11:36:57 PM
That's really weird, are you sure you are working in your own ProtoShares fork and not the I3 one? Also try re-cloning

tried re-cloning again but it's no use, i have tried all the available braches, but it refuses. I need to get a dedicated linux box next month, windows is just too complicated.

What do you mean "all available"? Did you fork ProtoShares first? Is the repo url "github.com/<your github username>/ProtoShares.git"?
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

barwizi

Quote from: toast on January 04, 2014, 11:36:57 PM
That's really weird, are you sure you are working in your own ProtoShares fork and not the I3 one? Also try re-cloning

tried re-cloning again but it's no use, i have tried all the available braches, but it refuses. I need to get a dedicated linux box next month, windows is just too complicated. 
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

toast

That's really weird, are you sure you are working in your own ProtoShares fork and not the I3 one? Also try re-cloning
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

barwizi

Quote from: toast on January 04, 2014, 11:17:31 PM
Can you put it on github?

Make an account, click "fork" on the I3 protoshares repo.

git clone <YOUR protoshares repo>
## make your changes
git add -u
git commit -m "coincontrol"
git push


i do have an account but eveytime i have tied pushing Protoshares it refuses, everything else works except Protoshares.

:(
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

toast

Can you put it on github?

Make an account, click "fork" on the I3 protoshares repo.

git clone <YOUR protoshares repo>
## make your changes
git add -u
git commit -m "coincontrol"
git push
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

barwizi

Quote from: toast on January 04, 2014, 10:21:23 PM
Not sure if this is a healthy attitude but if protoshareholders are supposed to have "the resources, the interest, and the domain knowledge to invest [protoshares] wisely", should we really be doing this much hand-holding?

toast, would you mind testing it out, am short on linux at the moment.

you'll find i commented some areas as //unsure since i could not make heads or tails of it, some files were very different.

https://drive.google.com/folderview?id=0BxCtiOzdwvPyZmtfM2llZWhSOU0&usp=sharing

the version of protshares i have has no makefile.am, weird. you will need to replace

clientversion.h compat.h core.h crypter.h db.h hash.h init.h \

with

clientversion.h coincontrol.h compat.h core.h crypter.h db.h hash.h init.h \

in src/makefile.am

and

forms/askpassphrasedialog.ui forms/editaddressdialog.ui forms/intro.ui \


with


forms/askpassphrasedialog.ui forms/coincontroldialog.ui forms/editaddressdialog.ui forms/intro.ui \

in src/qt/Makefile.am
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

bytemaster


Quote from: toast on January 04, 2014, 10:21:23 PM
Not sure if this is a healthy attitude but if protoshareholders are supposed to have "the resources, the interest, and the domain knowledge to invest [protoshares] wisely", should we really be doing this much hand-holding?

I want this tool to simplify my life as well. 


Sent from my iPhone using Tapatalk
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.