Skip to content

Commit

Permalink
new Template construction. section
Browse files Browse the repository at this point in the history
  • Loading branch information
Retropex committed Aug 22, 2024
1 parent 99fb94d commit 805f1d9
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 37 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/buildService.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
workflow_dispatch:
pull_request:
paths-ignore: ['*.md']
branches: ['main', 'master', 'knots', 'knots-for-community']
branches: ['main', 'master', 'knots', 'knots-for-community', 'new-config']
push:
paths-ignore: ['*.md']
branches: ['main', 'master', 'knots', 'knots-for-community']
branches: ['main', 'master', 'knots', 'knots-for-community', 'new-config']

jobs:
BuildPackage:
Expand Down
77 changes: 42 additions & 35 deletions scripts/services/getConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,48 @@ export const getConfig: T.ExpectedExports.getConfig = async (effects) => {
target: "tor-address",
interface: "rpc",
},
blkconstr: {
type: "object",
name: "Template construction.",
description: "Options about standard policies and mining block templates.",
spec: {
datacarrier: {
type: "boolean",
name: "Datacarrier",
description: "Relay and mine data carrier transactions",
default: true,
},
datacarriersize: {
type: "number",
nullable: false,
name: "Datacarrier size",
description:
"Maximum size of arbitrary data to relay and mine.",
range: "[0,10000]",
integral: true,
units: "bytes",
default: 42,
},
permitbaremultisig: {
type: "boolean",
name: "Permitbaremultisig",
description: "Relay non-P2SH multisig",
default: false,
},
rejectparasites: {
type: "boolean",
name: "Reject Parasites",
description: "Reject parasites transactions",
default: true,
},
rejecttokens: {
type: "boolean",
name: "Reject Tokens",
description: "Reject tokens transactions (runes)",
default: false,
},
}
},
rpc: {
type: "object",
name: "RPC Settings",
Expand Down Expand Up @@ -124,41 +166,6 @@ export const getConfig: T.ExpectedExports.getConfig = async (effects) => {
description: "Enable the ZeroMQ interface",
default: true,
},
datacarrier: {
type: "boolean",
name: "Datacarrier",
description: "Relay and mine data carrier transactions",
default: true,
},
datacarriersize: {
type: "number",
nullable: false,
name: "Datacarrier size",
description:
"Maximum size of arbitrary data to relay and mine.",
range: "[0,10000]",
integral: true,
units: "bytes",
default: 42,
},
permitbaremultisig: {
type: "boolean",
name: "Permitbaremultisig",
description: "Relay non-P2SH multisig",
default: false,
},
rejectparasites: {
type: "boolean",
name: "Reject Parasites",
description: "Reject parasites transactions",
default: true,
},
rejecttokens: {
type: "boolean",
name: "Reject Tokens",
description: "Reject tokens transactions (runes)",
default: false,
},
txindex: {
type: "boolean",
name: "Transaction Index",
Expand Down

0 comments on commit 805f1d9

Please sign in to comment.