Added max_key_fee setting #324

Merged
hackrush01 merged 3 commits from hackrush into master 2017-07-25 16:10:20 +02:00
hackrush01 commented 2017-07-02 20:45:06 +02:00 (Migrated from github.com)

Enables user to set the max_key_fee via the UI.
Fixes #268

Enables user to set the max_key_fee via the UI. Fixes #268
kauffj (Migrated from github.com) reviewed 2017-07-02 20:45:06 +02:00
hackrush01 commented 2017-07-02 20:45:44 +02:00 (Migrated from github.com)

This works with the lbrynet-daemon
http://imgur.com/a/ZpntP

This works with the lbrynet-daemon http://imgur.com/a/ZpntP
hackrush01 commented 2017-07-04 16:41:28 +02:00 (Migrated from github.com)

This is now confirmed to be working with the app if the daemon version in DAEMON_URL is changed to the latest RC(v0.14.2rc2). It was a bug of daemon v0.13.1. This can be merged and will be automatically fixed when the DAEMON_URL is updated.

This is now confirmed to be working with the app if the daemon version in DAEMON_URL is changed to the latest RC(v0.14.2rc2). It was a bug of daemon v0.13.1. This can be merged and will be automatically fixed when the DAEMON_URL is updated.
kauffj commented 2017-07-04 19:48:42 +02:00 (Migrated from github.com)

Going to wait on proper daemon release before merging this.

Going to wait on proper daemon release before merging this.
kauffj commented 2017-07-04 19:54:22 +02:00 (Migrated from github.com)

Although it still seems wrong to me that the JSON.stringify calls are necessary. Why do we need to JSON.stringify twice? Isn't this a bug/flaw in the daemon?

Although it still seems wrong to me that the JSON.stringify calls are necessary. Why do we need to JSON.stringify twice? Isn't this a bug/flaw in the daemon?
hackrush01 commented 2017-07-04 23:44:59 +02:00 (Migrated from github.com)

JSON.stringify is not called twice. Those are two different methods, one called when price is changed and other when denomination.

JSON.stringify is not called twice. Those are two different methods, one called when price is changed and other when denomination.
kauffj commented 2017-07-05 01:46:09 +02:00 (Migrated from github.com)

All JSON RPC calls have stringify called on the entire request payload.

On Jul 4, 2017 5:45 PM, "hackrush" notifications@github.com wrote:

JSON.stringify is not called twice. Those are two different methods, one
called when price is changed and other when denomination.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/lbryio/lbry-app/pull/324#issuecomment-312958981, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAgZVqWO-HIDBrMdZvjFkj7AvuAy9Qvqks5sKrJbgaJpZM4OLqLr
.

All JSON RPC calls have stringify called on the entire request payload. On Jul 4, 2017 5:45 PM, "hackrush" <notifications@github.com> wrote: > JSON.stringify is not called twice. Those are two different methods, one > called when price is changed and other when denomination. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <https://github.com/lbryio/lbry-app/pull/324#issuecomment-312958981>, or mute > the thread > <https://github.com/notifications/unsubscribe-auth/AAgZVqWO-HIDBrMdZvjFkj7AvuAy9Qvqks5sKrJbgaJpZM4OLqLr> > . >
kauffj commented 2017-07-05 01:46:14 +02:00 (Migrated from github.com)

Stringify is called on all JSON RPC calls

On Jul 4, 2017 5:45 PM, "hackrush" notifications@github.com wrote:

JSON.stringify is not called twice. Those are two different methods, one
called when price is changed and other when denomination.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/lbryio/lbry-app/pull/324#issuecomment-312958981, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAgZVqWO-HIDBrMdZvjFkj7AvuAy9Qvqks5sKrJbgaJpZM4OLqLr
.

Stringify is called on all JSON RPC calls On Jul 4, 2017 5:45 PM, "hackrush" <notifications@github.com> wrote: > JSON.stringify is not called twice. Those are two different methods, one > called when price is changed and other when denomination. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <https://github.com/lbryio/lbry-app/pull/324#issuecomment-312958981>, or mute > the thread > <https://github.com/notifications/unsubscribe-auth/AAgZVqWO-HIDBrMdZvjFkj7AvuAy9Qvqks5sKrJbgaJpZM4OLqLr> > . >
hackrush01 commented 2017-07-05 02:00:23 +02:00 (Migrated from github.com)

Oh! I didn't know that, so I guess this can then be safely removed.

Oh! I didn't know that, so I guess this can then be safely removed.
hackrush01 commented 2017-07-05 02:15:25 +02:00 (Migrated from github.com)

@kauffj please check.

@kauffj please check.
hackrush01 commented 2017-07-06 21:14:44 +02:00 (Migrated from github.com)

Goes with this PR lbry/#761

Goes with this PR [lbry/#761](https://github.com/lbryio/lbry/pull/761)
kauffj (Migrated from github.com) requested changes 2017-07-11 15:05:33 +02:00
kauffj (Migrated from github.com) left a comment

Almost there!

Almost there!
kauffj (Migrated from github.com) commented 2017-07-11 15:02:53 +02:00

Make this 1

Make this 1
kauffj (Migrated from github.com) commented 2017-07-11 15:03:54 +02:00

Placeholder should be 25 (since that's our suggested value)

Placeholder should be 25 (since that's our suggested value)
kauffj (Migrated from github.com) commented 2017-07-11 15:04:24 +02:00

Change to: "This will prevent you from purchasing anything over this fee, as a safety measure."

Change to: "This will prevent you from purchasing anything over this fee, as a safety measure."
kauffj (Migrated from github.com) commented 2017-07-11 15:05:25 +02:00

Make a completely blank input equivalent to disabling, rather than an additional form input.

Make a completely blank input equivalent to disabling, rather than an additional form input.
hackrush01 (Migrated from github.com) reviewed 2017-07-11 15:12:22 +02:00
hackrush01 (Migrated from github.com) commented 2017-07-11 15:12:22 +02:00

I was originally planning to do that, but this was done so as to prevent any confusion among the user. Since this setting is a bit critical so in my opinion having a clear cut indication would serve the purpose better.

I was originally planning to do that, but this was done so as to prevent any confusion among the user. Since this setting is a bit critical so in my opinion having a clear cut indication would serve the purpose better.
hackrush01 (Migrated from github.com) reviewed 2017-07-11 15:14:06 +02:00
hackrush01 (Migrated from github.com) commented 2017-07-11 15:14:05 +02:00

Ok. But our suggested value is US$ 50 as of this PR, so should I change this to 50 instead?

Ok. But our suggested value is US$ 50 as of [this](https://github.com/lbryio/lbry/pull/736) PR, so should I change this to 50 instead?
hackrush01 (Migrated from github.com) reviewed 2017-07-11 15:14:15 +02:00
hackrush01 (Migrated from github.com) commented 2017-07-11 15:14:15 +02:00

Ok

Ok
hackrush01 (Migrated from github.com) reviewed 2017-07-11 15:14:25 +02:00
hackrush01 (Migrated from github.com) commented 2017-07-11 15:14:25 +02:00

Ok

Ok
kauffj (Migrated from github.com) reviewed 2017-07-11 15:42:14 +02:00
kauffj (Migrated from github.com) commented 2017-07-11 15:42:14 +02:00

Yes

Yes
hackrush01 (Migrated from github.com) reviewed 2017-07-11 15:43:51 +02:00
hackrush01 (Migrated from github.com) commented 2017-07-11 15:43:51 +02:00

Ok

Ok
kauffj (Migrated from github.com) reviewed 2017-07-11 15:47:01 +02:00
kauffj (Migrated from github.com) commented 2017-07-11 15:47:01 +02:00

Ok, then can we use the pattern that is used in the code for Max Download/Upload? (It's currently commented out.)

The pattern is two radio options:

  • No limit
  • Limit to [input] [LBC/USD]
Ok, then can we use the pattern that is used in the code for Max Download/Upload? (It's currently commented out.) The pattern is two radio options: - No limit - Limit to [input] [LBC/USD]
hackrush01 (Migrated from github.com) reviewed 2017-07-11 16:06:01 +02:00
hackrush01 (Migrated from github.com) commented 2017-07-11 16:06:01 +02:00

Yes, that can be done. I will do it soon.

Yes, that can be done. I will do it soon.
hackrush01 commented 2017-07-14 23:14:15 +02:00 (Migrated from github.com)

@kauffj the corresponding PR in lbryio/lbry is merged, and the changes you asked for are done, please review.

@kauffj the corresponding PR in lbryio/lbry is merged, and the changes you asked for are done, please review.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#324
No description provided.