Skip to content

Commit

Permalink
Release/6.2.0 (#1567)
Browse files Browse the repository at this point in the history
* (un)Staking multiple avoid tx limit (#1244)

* add tx rate limit

* wait for tx limit if not done multi stake/unstake

* dont "decrypt" hotkey

* additional logging for prometheus

* additional logging for prometheus (#1246)

* Dataset fix (#1249)

* fix

* added try except

* Grab delegates details from GitHub (#1245)

* add url to init

* add dataclass and util functions

* use in cli

* remove delegates json

---------

Co-authored-by: joeylegere <[email protected]>

* Add raw spec for local test and new bins (#1243)

* add spec and new bins

* fix config netuid

* use dot get

* check if config netuid is list

* add start to mockstatus

* add attr to mock neuron

* add info to mock from neurons

* change ordering of neuron dict to namespace

* remove test for wandb for axon

* use regex for looser match

* fix blacklist metagraph mock

* use real mock netuid

* use mock network and netuid in constructor

* fix patch

* patch delegate check

* use mock network and netuid

* remove check for wallet hotkey

* fix tests for subtensor init

* dont set netuid for overview test

* typo in docstring

* add mock status stop

* add low mock tx limit

* oops typo

* use dot get

* add wait for final and incl args

* use args during setup

* update bins and use 100ms blocktime

* pass block arg

* remove bittensor.logging and a old test

* use random port

* backward fix

* fix block time to 1s

* compile no symb on linux

* compile no symb mac

* remove useless init on var

* use dot get for new flags

* update test durations

* update test durations

* use dot get for config

* output error msg

* mock to_default

* remove to defaults in help

* reduce neruons, remove flaky test

* deactivate test

* mvoe key pair tests out of the subtensor interface

---------

Co-authored-by: Eugene <[email protected]>

* Fix list_delegates on non-archive nodes (#1232)

* Change how pull of archival data is handled

* fix for list_delegates too

* .

* use empty dict

* fix spacing

* specify exception

* log out

* add space in log message

* use warning instead

* Blacklist fixes + depreciation of old signatures (#1240)

* fixes blacklist error message + remove

* remove checks for parse signature

* remove sign v1 tests

* fix for the syanpse checks

* fix tests and remove duplicate sign

* Improve development workflow documentation

* [BIT-636] Change u16 weight normalization to max-upscaling (#1241)

* Change u16 weight normalization to max-upscaling

Use full u16 bitwidth so that max_weight=U16_MAX, then rely on subtensor epoch to properly normalize weights in I32F32. This means that weights submission extrinsic to subtensor does not have to be pre-normalized.

* Skip zero sum in weight conversion

* Round u16 weights

* remove duplicate command #1228 (#1231)

* remove duplicate command #1228

* Extract create_parser for cli testing

* mark as private

* use in tests and test for duplicates

* fix test using mock prompt answers

* test_forward_priority_2nd_request_timeout fix (#1276)

fix

* Remove btcli query and btcli set_weights (#1144)

.

* Merge releases 4.0.0 and 4.0.1 back to staging (#1306)

* bump version

* Fix permissions for release github script (#1224)

Co-authored-by: Cameron Fairchild <[email protected]>

* should be 4.1.0

* Revert "should be 4.1.0"

This reverts commit 3db08ea.

* Staging into Release branch (#1275)

* (un)Staking multiple avoid tx limit (#1244)

* add tx rate limit

* wait for tx limit if not done multi stake/unstake

* dont "decrypt" hotkey

* additional logging for prometheus (#1246)

* Dataset fix (#1249)

* fix

* added try except

* Grab delegates details from GitHub (#1245)

* add url to init

* add dataclass and util functions

* use in cli

* remove delegates json

---------

Co-authored-by: joeylegere <[email protected]>

* Add raw spec for local test and new bins (#1243)

* add spec and new bins

* fix config netuid

* use dot get

* check if config netuid is list

* add start to mockstatus

* add attr to mock neuron

* add info to mock from neurons

* change ordering of neuron dict to namespace

* remove test for wandb for axon

* use regex for looser match

* fix blacklist metagraph mock

* use real mock netuid

* use mock network and netuid in constructor

* fix patch

* patch delegate check

* use mock network and netuid

* remove check for wallet hotkey

* fix tests for subtensor init

* dont set netuid for overview test

* typo in docstring

* add mock status stop

* add low mock tx limit

* oops typo

* use dot get

* add wait for final and incl args

* use args during setup

* update bins and use 100ms blocktime

* pass block arg

* remove bittensor.logging and a old test

* use random port

* backward fix

* fix block time to 1s

* compile no symb on linux

* compile no symb mac

* remove useless init on var

* use dot get for new flags

* update test durations

* update test durations

* use dot get for config

* output error msg

* mock to_default

* remove to defaults in help

* reduce neruons, remove flaky test

* deactivate test

* mvoe key pair tests out of the subtensor interface

---------

Co-authored-by: Eugene <[email protected]>

* Fix list_delegates on non-archive nodes (#1232)

* Change how pull of archival data is handled

* fix for list_delegates too

* .

* use empty dict

* fix spacing

* specify exception

* log out

* add space in log message

* use warning instead

* Blacklist fixes + depreciation of old signatures (#1240)

* fixes blacklist error message + remove

* remove checks for parse signature

* remove sign v1 tests

* fix for the syanpse checks

* fix tests and remove duplicate sign

* [BIT-636] Change u16 weight normalization to max-upscaling (#1241)

* Change u16 weight normalization to max-upscaling

Use full u16 bitwidth so that max_weight=U16_MAX, then rely on subtensor epoch to properly normalize weights in I32F32. This means that weights submission extrinsic to subtensor does not have to be pre-normalized.

* Skip zero sum in weight conversion

* Round u16 weights

* remove duplicate command #1228 (#1231)

* remove duplicate command #1228

* Extract create_parser for cli testing

* mark as private

* use in tests and test for duplicates

* fix test using mock prompt answers

* test_forward_priority_2nd_request_timeout fix (#1276)

fix

* Remove btcli query and btcli set_weights (#1144)

.

---------

Co-authored-by: Eugene-hu <[email protected]>
Co-authored-by: isabella618033 <[email protected]>
Co-authored-by: joeylegere <[email protected]>
Co-authored-by: Eugene <[email protected]>
Co-authored-by: opentaco <[email protected]>

* Remove codecov (#1282)

* Use alt new preseal (#1269)

* use new preseal for reg

* bump cubit req

* fix arg order issue

* cubit req back

* use alt impl

* fix typehint

* use 512

* modify tests for new format

* refactor functions to use helpers and remove useless

* refactor functions

* add test for CPU solver

* modify tests for privitized module and methods

* private register cuda

* move formatting funcs

* use powsolution

* privitize most methods

* fix test

* fix perms

* remove test script

* remove debug

* fix call

* fix seal

* fix combined hash

* move to method

* fix test using real example

* update mock bins

* use new builder

* fix block update tests

* fix some patching in tests

* mock live display for some tests

* fix chain mock

* update linux bin

* add mock network flag

* set max diff at 0 for mock netuid 1

* set min diff too

* add try catch for setup

* add some logging during tests

* don't submit on cli register

* update test durations

* fix test to use mock keypair

* return mock wallet

* should use subtensor instance during rereg

* update node subtensor bins

* use fixtures and multiple subtensor instances

* changelog update

* skip CLI tests (#1284)

* skip tests

* dont test mock functions

* update test durations

* [Release] v4.0.0 (#1271)

* bump version

* Fix permissions for release github script (#1224)

Co-authored-by: Cameron Fairchild <[email protected]>

* should be 4.1.0

* Revert "should be 4.1.0"

This reverts commit 3db08ea.

* Staging into Release branch (#1275)

* (un)Staking multiple avoid tx limit (#1244)

* add tx rate limit

* wait for tx limit if not done multi stake/unstake

* dont "decrypt" hotkey

* additional logging for prometheus (#1246)

* Dataset fix (#1249)

* fix

* added try except

* Grab delegates details from GitHub (#1245)

* add url to init

* add dataclass and util functions

* use in cli

* remove delegates json

---------

Co-authored-by: joeylegere <[email protected]>

* Add raw spec for local test and new bins (#1243)

* add spec and new bins

* fix config netuid

* use dot get

* check if config netuid is list

* add start to mockstatus

* add attr to mock neuron

* add info to mock from neurons

* change ordering of neuron dict to namespace

* remove test for wandb for axon

* use regex for looser match

* fix blacklist metagraph mock

* use real mock netuid

* use mock network and netuid in constructor

* fix patch

* patch delegate check

* use mock network and netuid

* remove check for wallet hotkey

* fix tests for subtensor init

* dont set netuid for overview test

* typo in docstring

* add mock status stop

* add low mock tx limit

* oops typo

* use dot get

* add wait for final and incl args

* use args during setup

* update bins and use 100ms blocktime

* pass block arg

* remove bittensor.logging and a old test

* use random port

* backward fix

* fix block time to 1s

* compile no symb on linux

* compile no symb mac

* remove useless init on var

* use dot get for new flags

* update test durations

* update test durations

* use dot get for config

* output error msg

* mock to_default

* remove to defaults in help

* reduce neruons, remove flaky test

* deactivate test

* mvoe key pair tests out of the subtensor interface

---------

Co-authored-by: Eugene <[email protected]>

* Fix list_delegates on non-archive nodes (#1232)

* Change how pull of archival data is handled

* fix for list_delegates too

* .

* use empty dict

* fix spacing

* specify exception

* log out

* add space in log message

* use warning instead

* Blacklist fixes + depreciation of old signatures (#1240)

* fixes blacklist error message + remove

* remove checks for parse signature

* remove sign v1 tests

* fix for the syanpse checks

* fix tests and remove duplicate sign

* [BIT-636] Change u16 weight normalization to max-upscaling (#1241)

* Change u16 weight normalization to max-upscaling

Use full u16 bitwidth so that max_weight=U16_MAX, then rely on subtensor epoch to properly normalize weights in I32F32. This means that weights submission extrinsic to subtensor does not have to be pre-normalized.

* Skip zero sum in weight conversion

* Round u16 weights

* remove duplicate command #1228 (#1231)

* remove duplicate command #1228

* Extract create_parser for cli testing

* mark as private

* use in tests and test for duplicates

* fix test using mock prompt answers

* test_forward_priority_2nd_request_timeout fix (#1276)

fix

* Remove btcli query and btcli set_weights (#1144)

.

---------

Co-authored-by: Eugene-hu <[email protected]>
Co-authored-by: isabella618033 <[email protected]>
Co-authored-by: joeylegere <[email protected]>
Co-authored-by: Eugene <[email protected]>
Co-authored-by: opentaco <[email protected]>

* Remove codecov (#1282)

* Use alt new preseal (#1269)

* use new preseal for reg

* bump cubit req

* fix arg order issue

* cubit req back

* use alt impl

* fix typehint

* use 512

* modify tests for new format

* refactor functions to use helpers and remove useless

* refactor functions

* add test for CPU solver

* modify tests for privitized module and methods

* private register cuda

* move formatting funcs

* use powsolution

* privitize most methods

* fix test

* fix perms

* remove test script

* remove debug

* fix call

* fix seal

* fix combined hash

* move to method

* fix test using real example

* update mock bins

* use new builder

* fix block update tests

* fix some patching in tests

* mock live display for some tests

* fix chain mock

* update linux bin

* add mock network flag

* set max diff at 0 for mock netuid 1

* set min diff too

* add try catch for setup

* add some logging during tests

* don't submit on cli register

* update test durations

* fix test to use mock keypair

* return mock wallet

* should use subtensor instance during rereg

* update node subtensor bins

* use fixtures and multiple subtensor instances

* changelog update

* skip CLI tests (#1284)

* skip tests

* dont test mock functions

* update test durations

---------

Co-authored-by: Eduardo García <[email protected]>
Co-authored-by: Eugene-hu <[email protected]>
Co-authored-by: isabella618033 <[email protected]>
Co-authored-by: joeylegere <[email protected]>
Co-authored-by: Eugene <[email protected]>
Co-authored-by: opentaco <[email protected]>

* fix my delegates

* fix perms on changelog script

* update version

* fix changelog script

* Catch bad endpoint protocol (#1296)

* catch protocol not good

* add protocol 4

* catch assertion and return bool

* catch assertion errors

* changelog

---------

Co-authored-by: Eduardo García <[email protected]>
Co-authored-by: Eugene-hu <[email protected]>
Co-authored-by: isabella618033 <[email protected]>
Co-authored-by: joeylegere <[email protected]>
Co-authored-by: Eugene <[email protected]>
Co-authored-by: opentaco <[email protected]>

* Update DEVELOPMENT_WORKFLOW.md

* final fixes

* staging updates and fixes (#1540)

* fix cli test

* fix double-counted hotkeys per subnet and non-iterable stake obj (#1539)

* fix double-counted hotkeys per subnet and non-iterable stake obj

* run black

* Add root get_weights command to btcli (#1536)

* Add root get_weights command to btcli

* Use a percentage for viewing weights instead of float values

* run black, fix cli test

---------

Co-authored-by: ifrit98 <[email protected]>

* Fix typo (#1543)

Co-authored-by: philanthrope <[email protected]>

* remove duplicated debug message in dendrite (#1544)

* Cli fix (#1541)

don't break on mismatched coldkey from local wallet <> chain

* update faucet helpstr (#1542)

* Added mechanism to sum all delegated tao (#1547)

Co-authored-by: Ala Shaabana <[email protected]>

* Dict hash fix (#1548)

* use dict() when hasing body objects to not convert arbitrary objects to str

* recreate synapse in axon dependency to avoid duplicating code

* black

* Merge master (#1552)

Release/6.1.0 (#1550)



* Fix typo (#1543)



* remove duplicated debug message in dendrite (#1544)

* Cli fix (#1541)

don't break on mismatched coldkey from local wallet <> chain

* update faucet helpstr (#1542)

* Added mechanism to sum all delegated tao (#1547)



* Dict hash fix (#1548)

* use dict() when hasing body objects to not convert arbitrary objects to str

* recreate synapse in axon dependency to avoid duplicating code

* black

* update version

* update changelog

---------

Co-authored-by: Cameron Fairchild <[email protected]>
Co-authored-by: Eugene <[email protected]>
Co-authored-by: isabella618033 <[email protected]>
Co-authored-by: Cameron Fairchild <[email protected]>
Co-authored-by: opentaco <[email protected]>
Co-authored-by: Eduardo García <[email protected]>
Co-authored-by: Ayden Brewer <[email protected]>
Co-authored-by: Steffen Cruz <[email protected]>
Co-authored-by: Ala Shaabana <[email protected]>

* Streaming fix (#1551)

* yield chunks immediately in process_streaming_responss so clients can access

* break streaming into separate call funcs

* update docstrings, types

* black

* duplicate debug msg

* add warning for mismatched streaming arg + subclass

* Fix typos (#1553)

* Release/6.1.0 (#1550)

Co-authored-by: ifrit98 <[email protected]>

* Fix typo (#1543)

Co-authored-by: philanthrope <[email protected]>

* remove duplicated debug message in dendrite (#1544)

* Cli fix (#1541)

don't break on mismatched coldkey from local wallet <> chain

* update faucet helpstr (#1542)

* Added mechanism to sum all delegated tao (#1547)

Co-authored-by: Ala Shaabana <[email protected]>

* Dict hash fix (#1548)

* use dict() when hasing body objects to not convert arbitrary objects to str

* recreate synapse in axon dependency to avoid duplicating code

* black

* update version

* update changelog

---------

Co-authored-by: Cameron Fairchild <[email protected]>
Co-authored-by: Eugene <[email protected]>
Co-authored-by: isabella618033 <[email protected]>
Co-authored-by: Cameron Fairchild <[email protected]>
Co-authored-by: opentaco <[email protected]>
Co-authored-by: Eduardo García <[email protected]>
Co-authored-by: Ayden Brewer <[email protected]>
Co-authored-by: Steffen Cruz <[email protected]>
Co-authored-by: Ala Shaabana <[email protected]>

* fix typos

---------

Co-authored-by: philanthrope <[email protected]>
Co-authored-by: Cameron Fairchild <[email protected]>
Co-authored-by: Eugene <[email protected]>
Co-authored-by: isabella618033 <[email protected]>
Co-authored-by: Cameron Fairchild <[email protected]>
Co-authored-by: opentaco <[email protected]>
Co-authored-by: Eduardo García <[email protected]>
Co-authored-by: Ayden Brewer <[email protected]>
Co-authored-by: Steffen Cruz <[email protected]>
Co-authored-by: Ala Shaabana <[email protected]>

* Normalize weights in r get weights table (#1556)

* Normalize weights in r get weights table

* use numpy and make table look nicer

* apply black

* add max 1 to prevent div0

---------

Co-authored-by: Cameron Fairchild <[email protected]>

* Dendrite & Synapse updates and fixes (#1555)

* remove tensor header objects to not overflow headers

* update tests to reflect removal of tensor headers

* ensure consistent method for calling  in synapse methods

* fix dendrite UnClosesedSession error

* fix docstring and add tests for close/aclose

* rm extra delete

* run black

* add default synapse dict() consistency test

* call del on session after close_session(), fix tests

* update dendrite dummy clsname

* add dendrite.query finally block

* fix test

* rm root flag in metagraph (#1558)

* rm root flag in metagraph

* run black

* typo

* Max Faucet Runs == 3 (#1560)

add exceptions

* replace unknown wallet params (chain mismatch) with key values (#1559)

* replace unknown wallet params (chain mismatch) with key values

* run black

* rm debug prints

* Remove PoW registration cli and associated extrinsic (#1557)

* Remove PoW registration cli and associated extrinsic

* run black

* no mo pow, no mo pow tests

* remove now deprecated PoW reregister routine

* remove deprecated tests

* more test fixes

* remove _do_pow call

* return PoW but still kill reregister (unused)

* run black

* return test to networks choices in btcli, fix chain_endpoint selection

* fix pow args

* Add btcli wallet balance (#1564)

* begin adding balance command

* skip validator that hasn't set weights yet on root

* finish balances command

* formatter

* issue warning for nonexistent coldkeypub.txt rather than break

* Dendrite fixes (#1561)

* make sure a session exists before trying to close it

* don't double iterate over async generator, simply return it

* black

* less DRY violations

* fix typehints

* add versioning

* update changelog

* remove unused registration utils

* fix typos

---------

Co-authored-by: Cameron Fairchild <[email protected]>
Co-authored-by: Eugene <[email protected]>
Co-authored-by: Eugene-hu <[email protected]>
Co-authored-by: isabella618033 <[email protected]>
Co-authored-by: joeylegere <[email protected]>
Co-authored-by: Cameron Fairchild <[email protected]>
Co-authored-by: “quac88” <“[email protected]”>
Co-authored-by: opentaco <[email protected]>
Co-authored-by: Eduardo García <[email protected]>
Co-authored-by: Ayden Brewer <[email protected]>
Co-authored-by: Steffen Cruz <[email protected]>
Co-authored-by: Ala Shaabana <[email protected]>
Co-authored-by: Ala Shaabana <[email protected]>
Co-authored-by: omahs <[email protected]>
Co-authored-by: Cameron Fairchild <[email protected]>
Co-authored-by: Cameron Fairchild <[email protected]>
  • Loading branch information
17 people authored Oct 30, 2023
1 parent 6b66bcf commit ba0a263
Show file tree
Hide file tree
Showing 25 changed files with 895 additions and 1,751 deletions.
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
# Changelog

## 6.2.0 / 2023-10-30

## What's Changed
* (un)Staking multiple avoid tx limit by @camfairchild in https://github.com/opentensor/bittensor/pull/1244
* additional logging for prometheus by @Eugene-hu in https://github.com/opentensor/bittensor/pull/1246
* Dataset fix by @isabella618033 in https://github.com/opentensor/bittensor/pull/1249
* Grab delegates details from GitHub by @camfairchild in https://github.com/opentensor/bittensor/pull/1245
* Add raw spec for local test and new bins by @camfairchild in https://github.com/opentensor/bittensor/pull/1243
* Fix list_delegates on non-archive nodes by @camfairchild in https://github.com/opentensor/bittensor/pull/1232
* Blacklist fixes + depreciation of old signatures by @Eugene-hu in https://github.com/opentensor/bittensor/pull/1240
* [BIT-636] Change u16 weight normalization to max-upscaling by @opentaco in https://github.com/opentensor/bittensor/pull/1241
* remove duplicate command #1228 by @camfairchild in https://github.com/opentensor/bittensor/pull/1231
* test_forward_priority_2nd_request_timeout fix by @isabella618033 in https://github.com/opentensor/bittensor/pull/1276
* Remove btcli query and btcli set_weights by @camfairchild in https://github.com/opentensor/bittensor/pull/1144
* Merge releases 4.0.0 and 4.0.1 back to staging by @camfairchild in https://github.com/opentensor/bittensor/pull/1306
* Improve development workflow documentation by @quac88 in https://github.com/opentensor/bittensor/pull/1262
* staging updates and fixes by @ifrit98 in https://github.com/opentensor/bittensor/pull/1540
* Add root get_weights command to btcli by @Rubberbandits in https://github.com/opentensor/bittensor/pull/1536
* Fix typo by @steffencruz in https://github.com/opentensor/bittensor/pull/1543
* remove duplicated debug message in dendrite by @ifrit98 in https://github.com/opentensor/bittensor/pull/1544
* Cli fix by @ifrit98 in https://github.com/opentensor/bittensor/pull/1541
* update faucet helpstr by @ifrit98 in https://github.com/opentensor/bittensor/pull/1542
* Added mechanism to sum all delegated tao by @shibshib in https://github.com/opentensor/bittensor/pull/1547
* Dict hash fix by @ifrit98 in https://github.com/opentensor/bittensor/pull/1548
* Release/6.1.0 by @ifrit98 in https://github.com/opentensor/bittensor/pull/1550
* Merge master by @ifrit98 in https://github.com/opentensor/bittensor/pull/1552
* Streaming fix by @ifrit98 in https://github.com/opentensor/bittensor/pull/1551
* Fix typos by @omahs in https://github.com/opentensor/bittensor/pull/1553
* Normalize weights in r get weights table by @camfairchild in https://github.com/opentensor/bittensor/pull/1556
* Dendrite & Synapse updates and fixes by @ifrit98 in https://github.com/opentensor/bittensor/pull/1555
* rm root flag in metagraph by @ifrit98 in https://github.com/opentensor/bittensor/pull/1558
* Max Faucet Runs == 3 by @ifrit98 in https://github.com/opentensor/bittensor/pull/1560
* replace unknown wallet params (chain mismatch) with key values by @ifrit98 in https://github.com/opentensor/bittensor/pull/1559
* Remove PoW registration cli and associated extrinsic by @ifrit98 in https://github.com/opentensor/bittensor/pull/1557
* Add btcli wallet balance by @ifrit98 in https://github.com/opentensor/bittensor/pull/1564
* Dendrite fixes by @ifrit98 in https://github.com/opentensor/bittensor/pull/1561

## New Contributors
* @omahs made their first contribution in https://github.com/opentensor/bittensor/pull/1553

**Full Changelog**: https://github.com/opentensor/bittensor/compare/v6.0.1...v6.2.0


## 6.1.0 / 2023-10-17

## What's Changed
Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

Bittensor is a mining network, similar to Bitcoin, that includes built-in incentives designed to encourage computers to provide access to machine learning models in an efficient and censorship-resistant manner. These models can be queried by users seeking outputs from the network, for instance; generating text, audio, and images, or for extracting numerical representations of these input types. Under the hood, Bittensor’s *economic market*, is facilitated by a blockchain token mechanism, through which producers (***miners***) and the verification of the work done by those miners (***validators***) are rewarded. Miners host, train or otherwise procure machine learning systems into the network as a means of fulfilling the verification problems defined by the validators, like the ability to generate responses from prompts i.e. “What is the capital of Texas?.

The token based mechanism under which the miners are incentivized ensures that they are constantly driven to make their knowledge output more useful, in terms of speed, intelligence and diversity. The value generated by the network is distributed directly to the individuals producing that value, without intermediarias. Anyone can participate in this endeavour, extract value from the network, and govern Bittensor. The network is open to all participants, and no individual or group has full control over what is learned, who can profit from it, or who can access it.
The token based mechanism under which the miners are incentivized ensures that they are constantly driven to make their knowledge output more useful, in terms of speed, intelligence and diversity. The value generated by the network is distributed directly to the individuals producing that value, without intermediaries. Anyone can participate in this endeavour, extract value from the network, and govern Bittensor. The network is open to all participants, and no individual or group has full control over what is learned, who can profit from it, or who can access it.

To learn more about Bittensor, please read our [paper](https://bittensor.com/whitepaper).

Expand Down Expand Up @@ -70,7 +70,7 @@ print (wallet)
$ btcli wallet new_coldkey
Enter wallet name (default):

IMPORTANT: Store this mnemonic in a secure (preferably offline place), as anyone who has possesion of this mnemonic can use it to regenerate the key and access your tokens.
IMPORTANT: Store this mnemonic in a secure (preferably offline place), as anyone who has possession of this mnemonic can use it to regenerate the key and access your tokens.
The mnemonic to the new coldkey is:
**** *** **** **** ***** **** *** **** **** **** ***** *****
You can use the mnemonic to recreate the key in case it gets lost. The command to use to regenerate the key using this mnemonic is:
Expand All @@ -80,7 +80,7 @@ $ btcli wallet new_hotkey
Enter wallet name (default): d1
Enter hotkey name (default):

IMPORTANT: Store this mnemonic in a secure (preferably offline place), as anyone who has possesion of this mnemonic can use it to regenerate the key and access your tokens.
IMPORTANT: Store this mnemonic in a secure (preferably offline place), as anyone who has possession of this mnemonic can use it to regenerate the key and access your tokens.
The mnemonic to the new hotkey is:
**** *** **** **** ***** **** *** **** **** **** ***** *****
You can use the mnemonic to recreate the key in case it gets lost. The command to use to regenerate the key using this mnemonic is:
Expand All @@ -95,7 +95,7 @@ $ tree ~/.bittensor/
coldkey # You encrypted coldkey.
coldkeypub.txt # Your coldkey public address
hotkeys/ # The folder containing all of your hotkeys.
default # You unencrypeted hotkey information.
default # You unencrypted hotkey information.
```
Your default wallet ```Wallet (default, default, ~/.bittensor/wallets/)``` is always used unless you specify otherwise. Be sure to store your mnemonics safely. If you lose your password to your wallet, or the access to the machine where the wallet is stored, you can always regenerate the coldkey using the mnemonic you saved from above.
```bash
Expand Down Expand Up @@ -183,18 +183,18 @@ For example:
```bash
btcli subnets --help

usage: btcli <command> <command args> subnets [-h] {list,metagraph,lock_cost,create,register,recycle_register,hyperparameters} ...
usage: btcli <command> <command args> subnets [-h] {list,metagraph,lock_cost,create,register,pow_register,hyperparameters} ...

positional arguments:
{list,metagraph,lock_cost,create,register,recycle_register,hyperparameters}
{list,metagraph,lock_cost,create,register,pow_register,hyperparameters}
Commands for managing and viewing subnetworks.
list List all subnets on the network
list List all subnets on the network.
metagraph View a subnet metagraph information.
lock_cost Return the lock cost to register a subnet
lock_cost Return the lock cost to register a subnet.
create Create a new bittensor subnetwork on this chain.
register Register a wallet to a network.
recycle_register Register a wallet to a network.
hyperparameters View subnet hyperparameters
register Register a wallet to a network using PoW.
hyperparameters View subnet hyperparameters.

options:
-h, --help show this help message and exit
Expand Down Expand Up @@ -251,7 +251,7 @@ metagraph.save()
metagraph.load()
```

Synapse: Responsible for defining the protocol definition betwee axon servers and dendrite clients
Synapse: Responsible for defining the protocol definition between axon servers and dendrite clients
```python
class Topk( bittensor.Synapse ):
topk: int = 2 # Number of "top" elements to select
Expand Down Expand Up @@ -289,12 +289,12 @@ def verify_my_synapse( synapse: MySyanpse ):
# Apply custom verification logic to synapse
# Optionally raise Exception
# Define a custom request blacklist fucntion
# Define a custom request blacklist function
def blacklist_my_synapse( synapse: MySyanpse ) -> bool:
# Apply custom blacklist
# return False ( if non blacklisted ) or True ( if blacklisted )
# Define a custom request priority fucntion
# Define a custom request priority function
def prioritize_my_synape( synapse: MySyanpse ) -> float:
# Apply custom priority
return 1.0
Expand All @@ -312,7 +312,7 @@ my_axon.attach(
```

Dendrite: Inheriting from PyTorch's Module class, represents the abstracted implementation of a network client module designed
to send requests to those endpoint to recieve inputs.
to send requests to those endpoints to receive inputs.
Example:
```python
dendrite_obj = dendrite( wallet = bittensor.wallet() )
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.1.0
6.2.0
4 changes: 2 additions & 2 deletions bittensor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
nest_asyncio.apply()

# Bittensor code and protocol version.
__version__ = "6.1.0"
__version__ = "6.2.0"
version_split = __version__.split(".")
__version_as_int__ = (
(100 * int(version_split[0]))
Expand Down Expand Up @@ -87,7 +87,7 @@ def debug(on: bool = True):
# Wallet ss58 address length
__ss58_address_length__ = 48

__networks__ = ["local", "finney"]
__networks__ = ["local", "finney", "test"]

__finney_entrypoint__ = "wss://entrypoint-finney.opentensor.ai:443"

Expand Down
4 changes: 2 additions & 2 deletions bittensor/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"metagraph": MetagraphCommand,
"lock_cost": SubnetLockCostCommand,
"create": RegisterSubnetworkCommand,
"pow_register": PowRegisterCommand,
"register": RegisterCommand,
"recycle_register": RecycleRegisterCommand,
"hyperparameters": SubnetHyperparamsCommand,
},
},
Expand Down Expand Up @@ -85,7 +85,7 @@
"overview": OverviewCommand,
"transfer": TransferCommand,
"inspect": InspectCommand,
# "balance": None,
"balance": WalletBalanceCommand,
"create": WalletCreateCommand,
"new_hotkey": NewHotkeyCommand,
"new_coldkey": NewColdkeyCommand,
Expand Down
5 changes: 3 additions & 2 deletions bittensor/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{
"netuid": 1,
"subtensor": {"network": "finney", "chain_endpoint": None, "_mock": False},
"register": {
"pow_register": {
"num_processes": None,
"update_interval": 50000,
"output_in_place": True,
Expand Down Expand Up @@ -65,7 +65,7 @@
from .stake import StakeCommand, StakeShow
from .unstake import UnStakeCommand
from .overview import OverviewCommand
from .register import RegisterCommand, RecycleRegisterCommand, RunFaucetCommand
from .register import PowRegisterCommand, RegisterCommand, RunFaucetCommand
from .delegates import (
NominateCommand,
ListDelegatesCommand,
Expand All @@ -81,6 +81,7 @@
RegenHotkeyCommand,
UpdateWalletCommand,
WalletCreateCommand,
WalletBalanceCommand,
)
from .transfer import TransferCommand
from .inspect import InspectCommand
Expand Down
7 changes: 5 additions & 2 deletions bittensor/commands/overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ def run(cli: "bittensor.cli"):
] = hotkey_wallet

all_hotkey_addresses = list(hotkey_coldkey_to_hotkey_wallet.keys())

with console.status(
":satellite: Syncing with chain: [white]{}[/white] ...".format(
cli.config.subtensor.get(
Expand Down Expand Up @@ -285,7 +284,11 @@ def run(cli: "bittensor.cli"):
nn.coldkey, None
)
if not hotwallet:
continue
# Indicates a mismatch between what the chain says the coldkey
# is for this hotkey and the local wallet coldkey-hotkey pair
hotwallet = argparse.Namespace()
hotwallet.name = nn.coldkey[:7]
hotwallet.hotkey_str = nn.hotkey[:7]
nn: bittensor.NeuronInfoLite
uid = nn.uid
active = nn.active
Expand Down
Loading

0 comments on commit ba0a263

Please sign in to comment.