Skip to content
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

Mainnet updates #32

Merged
merged 8 commits into from
Nov 16, 2024
Merged

Mainnet updates #32

merged 8 commits into from
Nov 16, 2024

Conversation

buffrr
Copy link
Member

@buffrr buffrr commented Nov 16, 2024

This PR does the following:

  • Simplifies space scripts reducing on-chain transaction size (effectively resets testnet4)
  • Replace SName type (used to represent a multi-label canonical DNS name) to a simpler SLabel type which only represents a single label.
  • Spaces are now alphanumeric only limited to 62 characters.
  • Reserve spaces @example, @test and @local
  • Adds mainnet-alpha and mainnet chain (activates 871222).
  • Update tesetnet4 activation block
  • Label dust outputs a bit differently to make coin selection
    for bids safer.
  • Add an option to store the raw transaction during indexing
    using --block-index-full useful if you don't want to enable txindex in core.
  • Add wallet command to force spend an output (handy for testing)
  • Various other clean ups.

- Allow specifying activation block height without its hash as it can be fetched from core
- Custom data dir now appends the chain in a sub directory
- Add mainnet and mainnet alpha blocks
- Report more helpful error messages for non successful http status codes
- Reduces on-chain cost by a few bytes
- Simpler space label type `SLabel` replacing `SName`
- Enforce alphanumeric rules
- Cargo fmt
- Make selection of dust outputs for auctions safer
- Remove unused script errors
- Add option to store raw tx in block index
- Add Bytes type that can be serialized as hex
- Use sensible names for space op codes
- Add forcespend command for testing
- Cargo fmt
@buffrr buffrr merged commit d4a85fa into spacesprotocol:main Nov 16, 2024
1 check passed
@buffrr buffrr mentioned this pull request Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant