-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isTreasuryActive #1817
isTreasuryActive #1817
Conversation
Block with a TAdd and Treasurybase: Treasury Add with special output paying to treasury: Treasury Spend with special input spending from treasury: Treasurybase with generated coins input and output paying to treasury: another http://127.0.0.1:8777/tx/77b75705997fafc8a394c8b5a164c48fd2dfc5a8416e89729f7e455ae5a85064 |
Record treasury active heights for mainnet and testnet, and correctly pass the treasuryActive bool to various functions. txhelpers.TreasuryHeightMainnet and TreasuryHeightTestnet3. Simnet treasury is assumed active at genesis. Put treasury parameters on the /parameters page. Make a Treasury transactions section on the /block page. Also add a "Fee Rate" column to the regular transactions section, show rates in atoms/B. On the /tx page, label treasury inputs and outputs: - Treasury Spend has a special input. - Treasury Add has a special output. - Treasurybase has special inputs and outputs. Give timeouts for {search,send}rawtransaction RPCs dcrpg: Also remove legacy pg db upgrades. lib/pg up to 1.10.1 moar treasury
Running on testnet.dcrdata.org since last night. |
Next step to support a new treasury page is new PG queries or even a new
collect and store todo here: https://github.com/decred/dcrdata/pull/1817/files#diff-1256fb31f67b81d11af39cef8f5f93723821756f546f2b939b77d96280d5615aR3942 Also, the votes with a 4th output are used to authorize treasury spends so we should consider how to decode and track these types of votes and/or their treasury decision. |
Record treasury active heights for mainnet and testnet, and
correctly pass the treasuryActive bool to various functions.
txhelpers.TreasuryHeightMainnet and TreasuryHeightTestnet3.
Simnet treasury is assumed active at genesis.
Put treasury parameters on the /parameters page.
Make a Treasury transactions section on the /block page.
Also add a "Fee Rate" column to the regular transactions section,
show rates in atoms/B.
On the /tx page, label treasury inputs and outputs:
Give timeouts for {search,send}rawtransaction RPCs
dcrpg: Also remove legacy pg db upgrades.