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 #2

Merged
merged 5 commits into from
May 26, 2012
Merged

Fastindex and new rpc commands #2

merged 5 commits into from
May 26, 2012

Conversation

khalahan
Copy link
Owner

  • 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 e6b2f1b into master May 26, 2012
@khalahan khalahan deleted the fastindex branch February 6, 2014 16:55
khalahan pushed a commit that referenced this pull request Feb 6, 2014
Change #ifdefs to put Mac data dir in the right place
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.

2 participants