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

Fastindex and new rpc commands #17

Merged
merged 5 commits into from
May 26, 2012
Merged

Conversation

khalahan
Copy link
Member

  • Faster name_list (11 times) and name_scan (3 times)
  • New rpc commands :
  • name_filter (regexp, max age, from, to, stat)
  • sendtoname

Syntax : namecoind name_filter [regexp] [maxage=36000] [from=0] [nb=0] [stat]

* list all unexpired names
namecoind name_filter

* list all names in the d/ namespace
namecoind name_filter "^d/" 0

* list names modified last 150 blocks
namecoind name_filter "^d/" 150

* count names modified last 150 blocks
namecoind name_filter "^d/" 150 0 0 stat

* list 20 names from number 100
namecoind name_filter "" 0 100 20
Allow to send namecoins to a name
Same usage as sendtoaddress

* Example - Send 10 namecoins to "d/khal" owner :
namecoind sendtoname d/khal 10
khalahan pushed a commit that referenced this pull request May 26, 2012
Fastindex and new rpc commands
@khalahan khalahan merged commit 6170266 into namecoin:master May 26, 2012
@khalahan khalahan deleted the fastindex branch February 6, 2014 16:55
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.

None yet

2 participants