{"action":"created","issue":{"url":"https://api.github.com/repos/ripple/rippled/issues/1354","labels_url":"https://api.github.com/repos/ripple/rippled/issues/1354/labels{/name}","comments_url":"https://api.github.com/repos/ripple/rippled/issues/1354/comments","events_url":"https://api.github.com/repos/ripple/rippled/issues/1354/events","html_url":"https://github.com/ripple/rippled/pull/1354","id":111425938,"number":1354,"title":"Transaction queue and fee escalation. (RIPD-598)","user":{"login":"ximinez","id":6757714,"avatar_url":"https://avatars.githubusercontent.com/u/6757714?v=3","gravatar_id":"","url":"https://api.github.com/users/ximinez","html_url":"https://github.com/ximinez","followers_url":"https://api.github.com/users/ximinez/followers","following_url":"https://api.github.com/users/ximinez/following{/other_user}","gists_url":"https://api.github.com/users/ximinez/gists{/gist_id}","starred_url":"https://api.github.com/users/ximinez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ximinez/subscriptions","organizations_url":"https://api.github.com/users/ximinez/orgs","repos_url":"https://api.github.com/users/ximinez/repos","events_url":"https://api.github.com/users/ximinez/events{/privacy}","received_events_url":"https://api.github.com/users/ximinez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ripple/rippled/labels/Passed","name":"Passed","color":"009800"},{"url":"https://api.github.com/repos/ripple/rippled/labels/Scott.D","name":"Scott.D","color":"eeeeee"},{"url":"https://api.github.com/repos/ripple/rippled/labels/Vinnie","name":"Vinnie","color":"eeeeee"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-14T15:41:30Z","updated_at":"2015-10-28T00:04:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ripple/rippled/pulls/1354","html_url":"https://github.com/ripple/rippled/pull/1354","diff_url":"https://github.com/ripple/rippled/pull/1354.diff","patch_url":"https://github.com/ripple/rippled/pull/1354.patch"},"body":"The first few transactions are added to the open ledger at the base fee (ie. 10 drops).  Once enough transactions are added, the required fee will jump dramatically. If additional transactions are added, the fee will grow exponentially.\r\n\r\nTransactions that don't have a high enough fee to be applied to the ledger are added to the queue in order from highest fee to lowest. Whenever a new ledger is accepted as validated, transactions are first applied from the queue to the open ledger in fee order until either all transactions are applied or the fee again jumps too high for the remaining transactions.\r\n\r\nCurrent implementation is restricted to one transaction in the queue per account. Some groundwork has been laid to expand in the future.\r\n\r\nNote that this fee logic escalates independently of the load-based fee logic (ie. LoadFeeTrack). Submitted transactions must meet the load fee to be considered for the queue, and must meet both fees to be put into open ledger.\r\n\r\nReviewers: @vinniefalco @seelabs. This branch is currently forked from #1230, which is pending merge as part of proposed 0.30.1-b2. I'll rebase as soon as b2 is pushed to develop. Relevant changes start with `Add modify function to OpenLedger::accept`."},"comment":{"url":"https://api.github.com/repos/ripple/rippled/issues/comments/151679818","html_url":"https://github.com/ripple/rippled/pull/1354#issuecomment-151679818","issue_url":"https://api.github.com/repos/ripple/rippled/issues/1354","id":151679818,"user":{"login":"ximinez","id":6757714,"avatar_url":"https://avatars.githubusercontent.com/u/6757714?v=3","gravatar_id":"","url":"https://api.github.com/users/ximinez","html_url":"https://github.com/ximinez","followers_url":"https://api.github.com/users/ximinez/followers","following_url":"https://api.github.com/users/ximinez/following{/other_user}","gists_url":"https://api.github.com/users/ximinez/gists{/gist_id}","starred_url":"https://api.github.com/users/ximinez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ximinez/subscriptions","organizations_url":"https://api.github.com/users/ximinez/orgs","repos_url":"https://api.github.com/users/ximinez/repos","events_url":"https://api.github.com/users/ximinez/events{/privacy}","received_events_url":"https://api.github.com/users/ximinez/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T00:04:15Z","updated_at":"2015-10-28T00:04:15Z","body":"Pushed a commit adding documentation. Not sure if this invalidates the \"Passed\", but if so, I can pull it and do a separate PR later."}}